From 6ad120eaeb95846b5dfc260c40ca0c81d17c2570 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Tue, 28 Jan 2020 12:18:12 -0800 Subject: [PATCH] standalone: Fix --help Fixes: bd97b6f9 ("Command-line: Give better error messages. From #1829.") Signed-off-by: Jordan Justen --- StandAlone/StandAlone.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 6e4c8d3..c0dd50b 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -654,6 +654,9 @@ void ProcessArguments(std::vector>& workItem break; } else if (lowerword == "version") { Options |= EOptionDumpVersions; + } else if (lowerword == "help") { + usage(); + break; } else { Error("unrecognized command-line option", argv[0]); } -- 2.7.4