diff options
Diffstat (limited to 'tools/slang-test/options.cpp')
| -rw-r--r-- | tools/slang-test/options.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/slang-test/options.cpp b/tools/slang-test/options.cpp index d24ea83e2..4fe7ea6bd 100644 --- a/tools/slang-test/options.cpp +++ b/tools/slang-test/options.cpp @@ -81,6 +81,7 @@ static bool _isSubCommand(const char* arg) while (argCursor != argEnd) { char const* arg = *argCursor++; + if (arg[0] != '-') { // We need to determine if this is a command, the confusion is that @@ -129,6 +130,10 @@ static bool _isSubCommand(const char* arg) { optionsOut->defaultSpawnType = SpawnType::UseProxy; } + else if (strcmp(arg, "-use-test-server") == 0) + { + optionsOut->defaultSpawnType = SpawnType::UseTestServer; + } else if (strcmp(arg, "-v") == 0) { optionsOut->shouldBeVerbose = true; |
