public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH bpf-next 1/2] bpftool: Add HELP_SPEC_OPTIONS in token.c
@ 2025-09-16  5:41 Tao Chen
  2025-09-16  5:41 ` [PATCH bpf-next 2/2] bpftool: Fix UAF in get_delegate_value Tao Chen
  2025-09-16 20:25 ` [PATCH bpf-next 1/2] bpftool: Add HELP_SPEC_OPTIONS in token.c Quentin Monnet
  0 siblings, 2 replies; 5+ messages in thread
From: Tao Chen @ 2025-09-16  5:41 UTC (permalink / raw)
  To: qmo, ast, daniel, andrii, martin.lau, eddyz87, song,
	yonghong.song, john.fastabend, kpsingh, sdf, haoluo, jolsa,
	chen.dylane
  Cc: bpf, linux-kernel

$ ./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>
---
 tools/bpf/bpftool/token.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/bpf/bpftool/token.c b/tools/bpf/bpftool/token.c
index 6312e662a12..82b829e44c8 100644
--- 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]);
-- 
2.48.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-09-17  2:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-16  5:41 [PATCH bpf-next 1/2] bpftool: Add HELP_SPEC_OPTIONS in token.c Tao Chen
2025-09-16  5:41 ` [PATCH bpf-next 2/2] bpftool: Fix UAF in get_delegate_value Tao Chen
2025-09-16 17:07   ` Alexei Starovoitov
2025-09-17  2:37     ` Tao Chen
2025-09-16 20:25 ` [PATCH bpf-next 1/2] bpftool: Add HELP_SPEC_OPTIONS in token.c Quentin Monnet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox