mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:04:51 +01:00
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: 2d812311c2 ("bpftool: Add bpf_token show")
Signed-off-by: Tao Chen <chen.dylane@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Quentin Monnet <qmo@kernel.org>
Link: https://lore.kernel.org/bpf/20250919034816.1287280-1-chen.dylane@linux.dev
This commit is contained in:
parent
815276dbfb
commit
bce5749b02
1 changed files with 1 additions and 0 deletions
|
|
@ -206,6 +206,7 @@ static int do_help(int argc, char **argv)
|
|||
fprintf(stderr,
|
||||
"Usage: %1$s %2$s { show | list }\n"
|
||||
" %1$s %2$s help\n"
|
||||
" " HELP_SPEC_OPTIONS " }\n"
|
||||
"\n"
|
||||
"",
|
||||
bin_name, argv[-2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue