From: Rubén Justo Date: Tue, 09 Jan 2024 15:29:30 GMT Subject: [PATCH 1/3] t/test-tool: usage description Message-ID: In-Reply-To: <7c68392c-af2f-4999-ae64-63221bf7833a@gmail.com> Even though this is an internal tool, let's keep the usage description correct and well organized. Signed-off-by: Rubén Justo --- t/helper/test-tool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/helper/test-tool.c b/t/helper/test-tool.c index 37ba996539..d9f57c20db 100644 --- a/t/helper/test-tool.c +++ b/t/helper/test-tool.c @@ -5,7 +5,7 @@ #include "parse-options.h" static const char * const test_tool_usage[] = { - "test-tool [-C ] ...]]", + "test-tool [-C ] [...]]", NULL }; @@ -100,7 +100,7 @@ static NORETURN void die_usage(void) { size_t i; - fprintf(stderr, "usage: test-tool [args]\n"); + fprintf(stderr, "usage: %s\n", test_tool_usage[0]); for (i = 0; i < ARRAY_SIZE(cmds); i++) fprintf(stderr, " %s\n", cmds[i].name); exit(128); -- 2.42.0