From: Jordan Justen Date: Tue, 28 Jan 2020 20:18:12 +0000 (-0800) Subject: standalone: Fix --help X-Git-Tag: upstream/11.4.0~318^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ad120eaeb95846b5dfc260c40ca0c81d17c2570;p=platform%2Fupstream%2Fglslang.git standalone: Fix --help Fixes: bd97b6f9 ("Command-line: Give better error messages. From #1829.") Signed-off-by: Jordan Justen --- 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]); }