summaryrefslogtreecommitdiff
path: root/tools/bpf/bpftool/perf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bpf/bpftool/perf.c')
-rw-r--r--tools/bpf/bpftool/perf.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/perf.c b/tools/bpf/bpftool/perf.c
index ad23934819c7..50de087b0db7 100644
--- a/tools/bpf/bpftool/perf.c
+++ b/tools/bpf/bpftool/perf.c
@@ -231,7 +231,10 @@ static int do_show(int argc, char **argv)
static int do_help(int argc, char **argv)
{
fprintf(stderr,
- "Usage: %1$s %2$s { show | list | help }\n"
+ "Usage: %1$s %2$s { show | list }\n"
+ " %1$s %2$s help }\n"
+ "\n"
+ " " HELP_SPEC_OPTIONS " }\n"
"",
bin_name, argv[-2]);