From d12b62783c6681d5ef4cdc358ea55d1620b1d435 Mon Sep 17 00:00:00 2001 From: Remy Willems Date: Tue, 20 Dec 2022 15:07:45 +0100 Subject: [PATCH] Fix options for 'dafny resolve' (#3227) Fixes https://github.com/dafny-lang/dafny/issues/3218 By submitting this pull request, I confirm that my contribution is made under the terms of the [MIT license](https://github.com/dafny-lang/dafny/blob/master/LICENSE.txt). --- Source/DafnyCore/Options/CommonOptionBag.cs | 2 +- Source/DafnyCore/Options/ICommandSpec.cs | 6 +++--- Source/DafnyLanguageServer/ServerCommand.cs | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/DafnyCore/Options/CommonOptionBag.cs b/Source/DafnyCore/Options/CommonOptionBag.cs index 66611c1cc91..d359b31c82c 100644 --- a/Source/DafnyCore/Options/CommonOptionBag.cs +++ b/Source/DafnyCore/Options/CommonOptionBag.cs @@ -106,7 +106,7 @@ Note that quantifier variable domains (<- ) are available in both syntax ArgumentHelpName = "language" }; - public static readonly Option UnicodeCharacters = new("--unicode-char", + public static readonly Option UnicodeCharacters = new("--unicode-char", () => false, @" false - The char type represents any UTF-16 code unit. true - The char type represents any Unicode scalar value.".TrimStart()); diff --git a/Source/DafnyCore/Options/ICommandSpec.cs b/Source/DafnyCore/Options/ICommandSpec.cs index 6474b232426..62f2fa0587c 100644 --- a/Source/DafnyCore/Options/ICommandSpec.cs +++ b/Source/DafnyCore/Options/ICommandSpec.cs @@ -27,10 +27,13 @@ static ICommandSpec() { public static Argument> FilesArgument { get; } public static IReadOnlyList