diff --git a/src/OmniSharp.Stdio/StdioCommandLineApplication.cs b/src/OmniSharp.Stdio/StdioCommandLineApplication.cs index ecdf852b7b..1c47d8be51 100644 --- a/src/OmniSharp.Stdio/StdioCommandLineApplication.cs +++ b/src/OmniSharp.Stdio/StdioCommandLineApplication.cs @@ -16,9 +16,9 @@ public StdioCommandLineApplication() : base() _encoding = Application.Option("-e | --encoding", "Input / output encoding for STDIO protocol.", CommandOptionType.SingleValue); } - public bool Stdio => _stdio.GetValueOrDefault(true); + public bool Stdio => true; - public bool Lsp => _lsp.GetValueOrDefault(false); + public bool Lsp => _lsp.HasValue(); public string Encoding => _encoding.GetValueOrDefault(null); }