diff options
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r-- | tools/bpf/bpftool/prog.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index 98f871ed53d6..5577960bffe4 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c | |||
@@ -836,7 +836,7 @@ static int do_help(int argc, char **argv) | |||
836 | } | 836 | } |
837 | 837 | ||
838 | fprintf(stderr, | 838 | fprintf(stderr, |
839 | "Usage: %s %s show [PROG]\n" | 839 | "Usage: %s %s { show | list } [PROG]\n" |
840 | " %s %s dump xlated PROG [{ file FILE | opcodes }]\n" | 840 | " %s %s dump xlated PROG [{ file FILE | opcodes }]\n" |
841 | " %s %s dump jited PROG [{ file FILE | opcodes }]\n" | 841 | " %s %s dump jited PROG [{ file FILE | opcodes }]\n" |
842 | " %s %s pin PROG FILE\n" | 842 | " %s %s pin PROG FILE\n" |
@@ -854,6 +854,7 @@ static int do_help(int argc, char **argv) | |||
854 | 854 | ||
855 | static const struct cmd cmds[] = { | 855 | static const struct cmd cmds[] = { |
856 | { "show", do_show }, | 856 | { "show", do_show }, |
857 | { "list", do_show }, | ||
857 | { "help", do_help }, | 858 | { "help", do_help }, |
858 | { "dump", do_dump }, | 859 | { "dump", do_dump }, |
859 | { "pin", do_pin }, | 860 | { "pin", do_pin }, |