Merge pull request #2068 from jljusten/standalone-fix-long-help

standalone: Fix --help
This commit is contained in:
John Kessenich 2020-01-28 22:25:17 -07:00 committed by GitHub
commit 9a80305c08
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]);
} }