[PATCH bpf-next] bpftool: add missing --sign option to help output

WanLi Niu posted 1 patch 1 month, 1 week ago
tools/bpf/bpftool/main.c | 3 +++
1 file changed, 3 insertions(+)
[PATCH bpf-next] bpftool: add missing --sign option to help output
Posted by WanLi Niu 1 month, 1 week ago
Signed-off-by: WanLi Niu <niuwl1@chinatelecom.cn>
Co-developed-by: hlleng <a909204013@gmail.com>
Signed-off-by: hlleng <a909204013@gmail.com

---
 tools/bpf/bpftool/main.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/bpf/bpftool/main.c b/tools/bpf/bpftool/main.c
index a829a6a49037..3b4987a2f1bb 100644
--- a/tools/bpf/bpftool/main.c
+++ b/tools/bpf/bpftool/main.c
@@ -66,6 +66,7 @@ static int do_help(int argc, char **argv)
 		"\n"
 		"       OBJECT := { prog | map | link | cgroup | perf | net | feature | btf | gen | struct_ops | iter | token }\n"
 		"       " HELP_SPEC_OPTIONS " |\n"
+		"                    { {-S|--sign {-k|--private_key_path} {-i|--cert_path} } |\n"
 		"                    {-V|--version} }\n"
 		"",
 		bin_name, bin_name, bin_name);
@@ -452,6 +453,8 @@ int main(int argc, char **argv)
 		{ "debug",	no_argument,	NULL,	'd' },
 		{ "use-loader",	no_argument,	NULL,	'L' },
 		{ "sign",	no_argument,	NULL,	'S' },
+		{ "private_key_path",	required_argument,	NULL,	'k' },
+		{ "cert_path",	required_argument,	NULL,	'i' },
 		{ "base-btf",	required_argument, NULL, 'B' },
 		{ 0 }
 	};
-- 
2.39.1
[PATCH bpf-next] bpftool: add missing --sign option to help output (withdrawn)
Posted by WanLi Niu 1 month, 1 week ago
Hi all,

Please disregard and withdraw my patch titled:

  [PATCH bpf-next] bpftool: add missing --sign option to help output

Reason: The patch is not reasonable.

Sorry for the noise.

Best regards