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
6e4c8d3
..
c0dd50b
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]);
}