THRIFT-4990 Switch to .NET core 3.0
Client: netstsd
Patch: Jens Geyer
This closes #1909
diff --git a/test/netstd/Server/Program.cs b/test/netstd/Server/Program.cs
index 8bfa371..4525ab7 100644
--- a/test/netstd/Server/Program.cs
+++ b/test/netstd/Server/Program.cs
@@ -47,21 +47,21 @@
switch(firstArg)
{
case "server":
- return TestServer.Execute(subArgs);
+ Console.WriteLine("The 'server' argument is no longer required.");
+ PrintHelp();
+ return -1;
case "--help":
PrintHelp();
return 0;
default:
- Console.WriteLine("Invalid argument: {0}", firstArg);
- PrintHelp();
- return -1;
+ return TestServer.Execute(subArgs);
}
}
private static void PrintHelp()
{
Console.WriteLine("Usage:");
- Console.WriteLine(" Server server [options]'");
+ Console.WriteLine(" Server [options]");
Console.WriteLine(" Server --help");
Console.WriteLine("");