Skip to content
Merged

Fix typo #46905

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/standard/commandline/migration-guide-2.0.0-beta5.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ rootCommand.SetAction(ParseResult parseResult =>
In the past, the `CancellationToken` passed to `InvokeAsync` was exposed to handler via a method of `InvocationContext`:

```csharp
rootCommand.SetHandler(async (InvocationCotnext context) =>
rootCommand.SetHandler(async (InvocationContext context) =>
{
string? urlOptionValue = context.ParseResult.GetValueForOption(urlOption);
var token = context.GetCancellationToken();
Expand Down
Loading