From 678ec90119ebb03ccd030f6718517bf174f495ce Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 8 Aug 2016 12:54:16 +0800 Subject: migrate to the new CommandLineParser API --- src/csharp/Grpc.IntegrationTesting/InteropServer.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/csharp/Grpc.IntegrationTesting/InteropServer.cs') 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] -- cgit v1.2.3