From bf1ccdf93f283392fcd5fb7db659cff3d6140b54 Mon Sep 17 00:00:00 2001 From: Remy Willems Date: Wed, 24 Jan 2024 15:06:41 +0100 Subject: [PATCH 1/6] Add option --- Source/DafnyDriver/Commands/VerifyCommand.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/DafnyDriver/Commands/VerifyCommand.cs b/Source/DafnyDriver/Commands/VerifyCommand.cs index 8193fc5a7b5..0990d386d54 100644 --- a/Source/DafnyDriver/Commands/VerifyCommand.cs +++ b/Source/DafnyDriver/Commands/VerifyCommand.cs @@ -10,6 +10,9 @@ namespace Microsoft.Dafny; public static class VerifyCommand { + public static Option FilterPosition = new("--filter-position", + @"Filter what gets verified based on a source location. The location is specified as a file path suffix that allows wildcards, optionally followed by a colon and a line number. For example, ""--filter=lastFolder/source.dfy:23"""); + public static Command Create() { var result = new Command("verify", "Verify the program."); result.AddArgument(DafnyCommands.FilesArgument); @@ -36,6 +39,7 @@ public static Command Create() { private static IReadOnlyList