Merge pull request #2068 from jljusten/standalone-fix-long-help
standalone: Fix --help
This commit is contained in:
commit
9a80305c08
1 changed files with 3 additions and 0 deletions
|
|
@ -654,6 +654,9 @@ void ProcessArguments(std::vector<std::unique_ptr<glslang::TWorkItem>>& workItem
|
||||||
break;
|
break;
|
||||||
} else if (lowerword == "version") {
|
} else if (lowerword == "version") {
|
||||||
Options |= EOptionDumpVersions;
|
Options |= EOptionDumpVersions;
|
||||||
|
} else if (lowerword == "help") {
|
||||||
|
usage();
|
||||||
|
break;
|
||||||
} else {
|
} else {
|
||||||
Error("unrecognized command-line option", argv[0]);
|
Error("unrecognized command-line option", argv[0]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue