diff --git a/CHANGELOG.md b/CHANGELOG.md index 6865b14e4a..08b5b1c801 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ All changes to the project will be documented in this file. ## [1.32.9] - not yet released * Updated to Roslyn 2.10.0 (PR: [#1344](https://github.com/OmniSharp/omnisharp-roslyn/pull/1344)) * Incorporate *IndentSwitchCaseSectionWhenBlock* into OmniSharp's formatting options. This fixes the default formatting behavior, as the setting is set to *true* by default, and still allows users to disable it if needed. ([#1351](https://github.com/OmniSharp/omnisharp-roslyn/issues/1351), PR: [#1353](https://github.com/OmniSharp/omnisharp-roslyn/pull/1353)) +* Removed unused `-stdio` flag from the `StdioCommandLineApplication` (PR: [#1362](https://github.com/OmniSharp/omnisharp-roslyn/pull/1362)) * Fixed finding references to operator overloads _(Contributed by [@SirIntruder](https://github.com/SirIntruder))_ (PR: [#1371](https://github.com/OmniSharp/omnisharp-roslyn/pull/1371)) ## [1.32.8] - 2018-11-14 diff --git a/src/OmniSharp.Stdio/StdioCommandLineApplication.cs b/src/OmniSharp.Stdio/StdioCommandLineApplication.cs index 1c47d8be51..1bfc102a9c 100644 --- a/src/OmniSharp.Stdio/StdioCommandLineApplication.cs +++ b/src/OmniSharp.Stdio/StdioCommandLineApplication.cs @@ -5,19 +5,15 @@ namespace OmniSharp.Stdio { internal class StdioCommandLineApplication : CommandLineApplication { - private readonly CommandOption _stdio; private readonly CommandOption _lsp; private readonly CommandOption _encoding; public StdioCommandLineApplication() : base() { - _stdio = Application.Option("-stdio | --stdio", "Use STDIO over HTTP as OmniSharp communication protocol.", CommandOptionType.NoValue); _lsp = Application.Option("-lsp | --languageserver", "Use Language Server Protocol.", CommandOptionType.NoValue); _encoding = Application.Option("-e | --encoding", "Input / output encoding for STDIO protocol.", CommandOptionType.SingleValue); } - public bool Stdio => true; - public bool Lsp => _lsp.HasValue(); public string Encoding => _encoding.GetValueOrDefault(null);