diff options
| author | Quentin Monnet <[email protected]> | 2017-10-23 16:24:16 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-24 00:25:09 +0000 |
| commit | 0641c3c890d480abeb237b92a5ee4b99a22319c6 (patch) | |
| tree | fa110252dc155ff8a5f29fbd2d00d641aeef45ae /tools/bpf/bpftool/prog.c | |
| parent | tools: bpftool: add cosmetic changes for the manual pages (diff) | |
| download | kernel-0641c3c890d480abeb237b92a5ee4b99a22319c6.tar.gz kernel-0641c3c890d480abeb237b92a5ee4b99a22319c6.zip | |
tools: bpftool: update documentation for --json and --pretty usage
Update the documentation to provide help about JSON output generation,
and add an example in bpftool-prog manual page.
Also reintroduce an example that was left aside when the tool was moved
from GitHub to the kernel sources, in order to show how to mount the
bpffs file system (to pin programs) inside the bpftool-prog manual page.
Signed-off-by: Quentin Monnet <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
| -rw-r--r-- | tools/bpf/bpftool/prog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index e07f35ff80d1..250f80fd46aa 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c @@ -625,6 +625,7 @@ static int do_help(int argc, char **argv) " %s %s help\n" "\n" " " HELP_SPEC_PROGRAM "\n" + " " HELP_SPEC_OPTIONS "\n" "", bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2], bin_name, argv[-2]); |
