projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
815276d
)
bpftool: Add HELP_SPEC_OPTIONS in token.c
author
Tao Chen
<chen.dylane@linux.dev>
Fri, 19 Sep 2025 03:48:15 +0000
(11:48 +0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Fri, 19 Sep 2025 22:35:47 +0000
(15:35 -0700)
$ ./bpftool token help
Usage: bpftool token { show | list }
bpftool token help
OPTIONS := { {-j|--json} [{-p|--pretty}] | {-d|--debug} }
Fixes:
2d812311c2b2
("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
tools/bpf/bpftool/token.c
patch
|
blob
|
history
diff --git
a/tools/bpf/bpftool/token.c
b/tools/bpf/bpftool/token.c
index
6312e66
..
82b829e
100644
(file)
--- a/
tools/bpf/bpftool/token.c
+++ b/
tools/bpf/bpftool/token.c
@@
-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]);