Skip to content

Commit 08fc629

Browse files
authored
Fix typo (#46905)
1 parent 251a0ed commit 08fc629

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/standard/commandline/migration-guide-2.0.0-beta5.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ rootCommand.SetAction(ParseResult parseResult =>
202202
In the past, the `CancellationToken` passed to `InvokeAsync` was exposed to handler via a method of `InvocationContext`:
203203

204204
```csharp
205-
rootCommand.SetHandler(async (InvocationCotnext context) =>
205+
rootCommand.SetHandler(async (InvocationContext context) =>
206206
{
207207
string? urlOptionValue = context.ParseResult.GetValueForOption(urlOption);
208208
var token = context.GetCancellationToken();

0 commit comments

Comments
 (0)