]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bpftool: Add HELP_SPEC_OPTIONS in token.c
authorTao Chen <chen.dylane@linux.dev>
Fri, 19 Sep 2025 03:48:15 +0000 (11:48 +0800)
committerAndrii Nakryiko <andrii@kernel.org>
Fri, 19 Sep 2025 22:35:47 +0000 (15:35 -0700)
commitbce5749b02019f9b7e60fdff584098e57337c8b6
tree874fa50b5f58f5cae47d0f8d6770195efcb96c55
parent815276dbfbb79abd531f09eca7d3208a847d6a0b
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: 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