Skip to content

Commit 150b1bf

Browse files
author
Steve Salas
committed
Updated usage statement for filters
1 parent 737227e commit 150b1bf

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

dotnet-tracer/main/CodePulse.Console/CommandLineParser.cs

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -313,10 +313,16 @@ public string Usage()
313313
builder.AppendLine(string.Format("[-HideSkipped:{0}|All,[{0}|All]]", skips));
314314
builder.AppendLine();
315315
builder.AppendLine("Filters:");
316-
builder.AppendLine(" Filters are used to include and exclude assemblies and types in the");
317-
builder.AppendLine(" profiler coverage; see the Usage guide. If no other filters are supplied");
318-
builder.AppendLine(" via the -filter option then a default inclusive all filter +[*]* is");
319-
builder.AppendLine(" applied.");
316+
builder.AppendLine(" Filters control the scope of the Code Pulse .NET Tracer. A filter ");
317+
builder.AppendLine(" string can either include or exclude parts of a .NET Framework ");
318+
builder.AppendLine(" application. ");
319+
builder.AppendLine(" ");
320+
builder.AppendLine(" Inclusion filters begin with + and exclusion filters start with -. ");
321+
builder.AppendLine(" The assembly portion follows and consists of an assembly name in ");
322+
builder.AppendLine(" brackets. The type filter comes last. Both the assembly name and ");
323+
builder.AppendLine(" type filter can include an asterisk as a wildcard character. Wrap ");
324+
builder.AppendLine(" two or more filter strings with double quotes and separate them ");
325+
builder.AppendLine(" with spaces. ");
320326
builder.AppendLine("Logging:");
321327
builder.AppendLine(" Logging is based on log4net logging levels and appenders - defaulting");
322328
builder.AppendLine(" to INFO log level with ColoredConsoleAppender and RollingFileAppender.");

0 commit comments

Comments
 (0)