Skip to content

Commit eac6aad

Browse files
committed
Change /nostats to /stats
1 parent c898d40 commit eac6aad

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

StyleCop.Analyzers/StyleCopTester/Program.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ private static async Task MainAsync(string[] args, CancellationToken cancellatio
8686

8787
Console.WriteLine($"Loaded solution in {stopwatch.ElapsedMilliseconds}ms");
8888

89-
if (!args.Contains("/nostats"))
89+
if (args.Contains("/stats"))
9090
{
9191
List<Project> csharpProjects = solution.Projects.Where(i => i.Language == LanguageNames.CSharp).ToList();
9292

@@ -447,7 +447,7 @@ private static void PrintHelp()
447447
Console.WriteLine("Usage: StyleCopTester [options] <Solution>");
448448
Console.WriteLine("Options:");
449449
Console.WriteLine("/all Run all StyleCopAnalyzers analyzers, including ones that are disabled by default");
450-
Console.WriteLine("/nostats Disable the display of statistics");
450+
Console.WriteLine("/stats Display statistics of the solution");
451451
Console.WriteLine("/codefixes Test single code fixes");
452452
Console.WriteLine("/fixall Test fix all providers");
453453
Console.WriteLine("/id:<id> Enable analyzer with diagnostic ID < id > (when this is specified, only this analyzer is enabled)");

StyleCop.Analyzers/StyleCopTester/StyleCopTester.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<CodeAnalysisRuleSet>..\StyleCop.Analyzers.Internal.ruleset</CodeAnalysisRuleSet>
3838
</PropertyGroup>
3939
<PropertyGroup>
40-
<StartArguments>..\..\StyleCopAnalyzers.sln</StartArguments>
40+
<StartArguments>..\..\StyleCopAnalyzers.sln /stats</StartArguments>
4141
<StartWorkingDirectory>$(MSBuildProjectDirectory)</StartWorkingDirectory>
4242
</PropertyGroup>
4343
<PropertyGroup>

0 commit comments

Comments
 (0)