From 1823b0cead9530aea5f6694a95f28e1ddac5efac Mon Sep 17 00:00:00 2001 From: cybermancer Date: Tue, 16 Nov 2021 15:15:21 +1100 Subject: Improve compiler help output with regard to command specific help. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5371393d1..7896756d4 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -545,8 +545,8 @@ void usage(String argv0) { print_usage_line(1, "version print version"); print_usage_line(1, "report print information useful to reporting a bug"); print_usage_line(0, ""); - print_usage_line(0, "For more information of flags, apply the flag to see what is possible"); - print_usage_line(1, "-help"); + print_usage_line(0, "For further details on a command, use -help or --help after the command name"); + print_usage_line(1, "e.g. odin build -help"); } -- cgit v1.2.3 From e5f961b48f52f8346f00d43fea4700c8513c53c3 Mon Sep 17 00:00:00 2001 From: DYSEQTA Date: Wed, 24 Nov 2021 11:10:40 +1100 Subject: Removed '--help' from help string as per request. --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 7896756d4..99a55b2b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -545,7 +545,7 @@ void usage(String argv0) { print_usage_line(1, "version print version"); print_usage_line(1, "report print information useful to reporting a bug"); print_usage_line(0, ""); - print_usage_line(0, "For further details on a command, use -help or --help after the command name"); + print_usage_line(0, "For further details on a command, use -help after the command name"); print_usage_line(1, "e.g. odin build -help"); } -- cgit v1.2.3