projects
/
platform
/
upstream
/
glslang.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07a5583
)
standalone: Fix --help
author
Jordan Justen
<jordan.l.justen@intel.com>
Tue, 28 Jan 2020 20:18:12 +0000
(12:18 -0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Tue, 28 Jan 2020 22:08:12 +0000
(14:08 -0800)
Fixes: bd97b6f9 ("Command-line: Give better error messages. From #1829.")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
StandAlone/StandAlone.cpp
patch
|
blob
|
history
diff --git
a/StandAlone/StandAlone.cpp
b/StandAlone/StandAlone.cpp
index 6e4c8d30d75a0bd833b14d824536b0b7be6556ae..c0dd50ba56e03b921bd8016285c51605edeb3e08 100644
(file)
--- a/
StandAlone/StandAlone.cpp
+++ b/
StandAlone/StandAlone.cpp
@@
-654,6
+654,9
@@
void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
break;
} else if (lowerword == "version") {
Options |= EOptionDumpVersions;
+ } else if (lowerword == "help") {
+ usage();
+ break;
} else {
Error("unrecognized command-line option", argv[0]);
}