Skip to content

Commit bce5749

Browse files
Tao Chenanakryiko
authored andcommitted
bpftool: Add HELP_SPEC_OPTIONS in token.c
$ ./bpftool token help Usage: bpftool token { show | list } bpftool token help OPTIONS := { {-j|--json} [{-p|--pretty}] | {-d|--debug} } Fixes: 2d81231 ("bpftool: Add bpf_token show") Signed-off-by: Tao Chen <[email protected]> Signed-off-by: Andrii Nakryiko <[email protected]> Acked-by: Quentin Monnet <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 815276d commit bce5749

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/bpf/bpftool/token.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ static int do_help(int argc, char **argv)
206206
fprintf(stderr,
207207
"Usage: %1$s %2$s { show | list }\n"
208208
" %1$s %2$s help\n"
209+
" " HELP_SPEC_OPTIONS " }\n"
209210
"\n"
210211
"",
211212
bin_name, argv[-2]);

0 commit comments

Comments
 (0)