diff options
author | 2016-08-08 12:54:16 +0800 | |
---|---|---|
committer | 2016-08-13 14:13:46 +0800 | |
commit | 678ec90119ebb03ccd030f6718517bf174f495ce (patch) | |
tree | 9f422dbd94e31a168885a5731b39710bf7d4ecb2 /src/csharp/Grpc.IntegrationTesting/InteropServer.cs | |
parent | 7e037f7ae98f6fde0ca78f1c911151b9fd1af4a2 (diff) |
migrate to the new CommandLineParser API
Diffstat (limited to 'src/csharp/Grpc.IntegrationTesting/InteropServer.cs')
-rw-r--r-- | src/csharp/Grpc.IntegrationTesting/InteropServer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/csharp/Grpc.IntegrationTesting/InteropServer.cs b/src/csharp/Grpc.IntegrationTesting/InteropServer.cs index cd47e31c2b..16c7e65bfa 100644 --- a/src/csharp/Grpc.IntegrationTesting/InteropServer.cs +++ b/src/csharp/Grpc.IntegrationTesting/InteropServer.cs @@ -51,11 +51,11 @@ namespace Grpc.IntegrationTesting { private class ServerOptions { - [Option("port", DefaultValue = 8070)] + [Option("port", Default = 8070)] public int Port { get; set; } // Deliberately using nullable bool type to allow --use_tls=true syntax (as opposed to --use_tls) - [Option("use_tls", DefaultValue = false)] + [Option("use_tls", Default = false)] public bool? UseTls { get; set; } [HelpOption] |