Commit 6da4fea8 authored by Daniel T. Lee's avatar Daniel T. Lee Committed by Martin KaFai Lau

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: default avatarDaniel T. Lee <danieltimlee@gmail.com>
Reviewed-by: default avatarQuentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/r/20230811121603.17429-1-danieltimlee@gmail.comSigned-off-by: default avatarMartin KaFai Lau <martin.lau@kernel.org>
parent 01b85396
...@@ -236,7 +236,7 @@ static int do_help(int argc, char **argv) ...@@ -236,7 +236,7 @@ static int do_help(int argc, char **argv)
{ {
fprintf(stderr, fprintf(stderr,
"Usage: %1$s %2$s { show | list }\n" "Usage: %1$s %2$s { show | list }\n"
" %1$s %2$s help }\n" " %1$s %2$s help\n"
"\n" "\n"
" " HELP_SPEC_OPTIONS " }\n" " " HELP_SPEC_OPTIONS " }\n"
"", "",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment