Skip to content

Commit 8b86f7b

Browse files
authored
Fix dotnet trace option help message (#32357)
1 parent ee1c2a1 commit 8b86f7b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/diagnostics/dotnet-trace.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The `dotnet-trace` tool:
7070

7171
## dotnet-trace collect
7272

73-
Collects a diagnostic trace from a running process or launches a child process and traces it (.NET 5+ only). To have the tool run a child process and trace it from its startup, append `--` to the collect command.
73+
Collects a diagnostic trace from a running process or launches a child process and traces it (.NET 5 or later). To have the tool run a child process and trace it from its startup, append `--` to the collect command.
7474

7575
### Synopsis
7676

@@ -182,7 +182,7 @@ dotnet-trace collect [--buffersize <size>] [--clreventlevel <clreventlevel>] [--
182182

183183
To learn more about some of the well-known providers in .NET, refer to [Well-known Event Providers](./well-known-event-providers.md).
184184

185-
- **`-- <command>` (for target applications running .NET 5 only)**
185+
- **`-- <command>` (for target applications running .NET 5 or later)**
186186

187187
After the collection configuration parameters, the user can append `--` followed by a command to start a .NET application with at least a 5.0 runtime. This may be helpful when diagnosing issues that happen early in the process, such as startup performance issue or assembly loader and binder errors.
188188

0 commit comments

Comments
 (0)