We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 296f30a commit 13c3f63Copy full SHA for 13c3f63
src/cscs/Program.cs
@@ -38,7 +38,7 @@ static int Main(string[] args)
38
Runtime.GlobalIncludsDir?.EnsureDir(rethrow: false);
39
Runtime.CustomCommandsDir.EnsureDir(rethrow: false);
40
41
- var serverCommand = args.LastOrDefault(x => x.StartsWith("-server"));
+ var serverCommand = args.LastOrDefault(x => x.StartsWith("-server")) ?? args.LastOrDefault(x => x.StartsWith("-kill"));
42
var installCommand = args.LastOrDefault(x => x.StartsWith("-install") || x.StartsWith("-uninstall"));
43
44
if (serverCommand.HasText() && !args.Any(x => x == "?"))
0 commit comments