Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

bpftool: fix perf help message

Currently, bpftool perf subcommand has typo with the help message.

$ tools/bpf/bpftool/bpftool perf help
Usage: bpftool perf { show | list }
bpftool perf help }

Since this bpftool perf subcommand help message has the extra bracket,
this commit fix the typo by removing the extra bracket.

Signed-off-by: Daniel T. Lee <danieltimlee@gmail.com>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/r/20230811121603.17429-1-danieltimlee@gmail.com
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>

authored by

Daniel T. Lee and committed by
Martin KaFai Lau
6da4fea8 01b85396

+1 -1
+1 -1
tools/bpf/bpftool/perf.c
··· 236 236 { 237 237 fprintf(stderr, 238 238 "Usage: %1$s %2$s { show | list }\n" 239 - " %1$s %2$s help }\n" 239 + " %1$s %2$s help\n" 240 240 "\n" 241 241 " " HELP_SPEC_OPTIONS " }\n" 242 242 "",