Skip to content

Commit 0be1b2b

Browse files
committed
bpftool check fix
1 parent 0a9ef49 commit 0be1b2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tools/bpf/bpftool/gen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1982,7 +1982,7 @@ static int do_help(int argc, char **argv)
19821982
" %1$s %2$s help\n"
19831983
"\n"
19841984
" " HELP_SPEC_OPTIONS " |\n"
1985-
" {-L|--use-loader} }\n"
1985+
" {-L|--use-loader} | [ {-S|--sign } {-k} <private_key.pem> {-i} <certificate.x509> ]}\n"
19861986
"",
19871987
bin_name, "gen");
19881988

tools/bpf/bpftool/prog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2587,7 +2587,7 @@ static int do_help(int argc, char **argv)
25872587
" METRIC := { cycles | instructions | l1d_loads | llc_misses | itlb_misses | dtlb_misses }\n"
25882588
" " HELP_SPEC_OPTIONS " |\n"
25892589
" {-f|--bpffs} | {-m|--mapcompat} | {-n|--nomount} |\n"
2590-
" {-L|--use-loader} }\n"
2590+
" {-L|--use-loader} | [ {-S|--sign } {-k} <private_key.pem> {-i} <certificate.x509> ] \n"
25912591
"",
25922592
bin_name, argv[-2]);
25932593

0 commit comments

Comments
 (0)