From f85f9d01848b76030c1ddfffb1868be3e8515579 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9rald=20Barr=C3=A9?= Date: Fri, 20 Jun 2025 10:53:56 -0400 Subject: [PATCH] Fix typo --- docs/standard/commandline/migration-guide-2.0.0-beta5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/standard/commandline/migration-guide-2.0.0-beta5.md b/docs/standard/commandline/migration-guide-2.0.0-beta5.md index 360e219c4937f..140ea67de6604 100644 --- a/docs/standard/commandline/migration-guide-2.0.0-beta5.md +++ b/docs/standard/commandline/migration-guide-2.0.0-beta5.md @@ -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();