You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/coverlet.console/Program.cs
+2-1
Original file line number
Diff line number
Diff line change
@@ -37,6 +37,7 @@ static int Main(string[] args)
37
37
CommandOptionexcludedSourceFiles=app.Option("--exclude-by-file","Glob patterns specifying source files to exclude.",CommandOptionType.MultipleValue);
38
38
CommandOptionincludeDirectories=app.Option("--include-directory","Include directories containing additional assemblies to be instrumented.",CommandOptionType.MultipleValue);
39
39
CommandOptionexcludeAttributes=app.Option("--exclude-by-attribute","Attributes to exclude from code coverage.",CommandOptionType.MultipleValue);
40
+
CommandOptionsingleHit=app.Option("--single-hit","Specifies whether to limit code coverage hit reporting to a single hit for each location",CommandOptionType.NoValue);
40
41
CommandOptionmergeWith=app.Option("--merge-with","Path to existing coverage result to merge.",CommandOptionType.SingleValue);
41
42
CommandOptionuseSourceLink=app.Option("--use-source-link","Specifies whether to use SourceLink URIs in place of file system paths.",CommandOptionType.NoValue);
42
43
@@ -48,7 +49,7 @@ static int Main(string[] args)
48
49
if(!target.HasValue())
49
50
thrownewCommandParsingException(app,"Target must be specified.");
0 commit comments