mirror of
https://github.com/KhronosGroup/glslang
synced 2024-09-19 20:29:54 +00:00
standalone: Fix --help
Fixes: bd97b6f9
("Command-line: Give better error messages. From #1829.")
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
07a55839ee
commit
6ad120eaeb
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user