diff options
| author | Quentin Monnet <[email protected]> | 2021-07-30 21:54:34 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2021-07-30 22:40:28 +0000 |
| commit | 8cc8c6357c8fa763c650f1bddb69871a254f427c (patch) | |
| tree | 89c18311172b507277dfbb9cfd45de5d2723b003 /tools/bpf/bpftool/cgroup.c | |
| parent | selftests/bpf: Update bpftool's consistency script for checking options (diff) | |
| download | kernel-8cc8c6357c8fa763c650f1bddb69871a254f427c.tar.gz kernel-8cc8c6357c8fa763c650f1bddb69871a254f427c.zip | |
tools: bpftool: Document and add bash completion for -L, -B options
The -L|--use-loader option for using loader programs when loading, or
when generating a skeleton, did not have any documentation or bash
completion. Same thing goes for -B|--base-btf, used to pass a path to a
base BTF object for split BTF such as BTF for kernel modules.
This patch documents and adds bash completion for those options.
Fixes: 75fa1777694c ("tools/bpftool: Add bpftool support for split BTF")
Fixes: d510296d331a ("bpftool: Use syscall/loader program in "prog load" and "gen skeleton" command.")
Signed-off-by: Quentin Monnet <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/bpf/bpftool/cgroup.c')
| -rw-r--r-- | tools/bpf/bpftool/cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/cgroup.c b/tools/bpf/bpftool/cgroup.c index c42f437a1015..3571a281c43f 100644 --- a/tools/bpf/bpftool/cgroup.c +++ b/tools/bpf/bpftool/cgroup.c @@ -502,7 +502,7 @@ static int do_help(int argc, char **argv) " " HELP_SPEC_ATTACH_FLAGS "\n" " " HELP_SPEC_PROGRAM "\n" " " HELP_SPEC_OPTIONS " |\n" - " {-f|--bpffs} } + " {-f|--bpffs} }\n" "", bin_name, argv[-2]); |
