Skip to content

Commit

Permalink
Update Source/DafnyCore/Options/CommonOptionBag.cs
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Salkeld <[email protected]>
  • Loading branch information
MikaelMayer and robin-aws authored Aug 26, 2024
1 parent a0265d8 commit eccadb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DafnyCore/Options/CommonOptionBag.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ void ParsePrintMode(Option<PrintModes> option, Boogie.CommandLineParseState ps,

DafnyOptions.RegisterLegacyBinding(RawPointers, (options, value) => {
if (value && options.Get(CommonOptionBag.Target) != "rs") {
Console.Error.WriteLine("Error: --raw-pointers can only be used after --target:rs or -t:rs");
Console.Error.WriteLine("Error: --raw-pointers can only be used with --target:rs or -t:rs");
System.Environment.Exit(1);
}
});
Expand Down

0 comments on commit eccadb1

Please sign in to comment.