File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/System.CommandLine.Hosting Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ public static ParseResult GetParseResult(this IHostBuilder hostBuilder)
6363 ctxObj is ParseResult invocationContext )
6464 return invocationContext ;
6565
66- throw new InvalidOperationException ( "Host builder has no Invocation Context registered to it." ) ;
66+ throw new InvalidOperationException ( "Host builder has no command-line parse result registered to it." ) ;
6767 }
6868
6969 public static ParseResult GetParseResult ( this HostBuilderContext context )
@@ -74,7 +74,7 @@ public static ParseResult GetParseResult(this HostBuilderContext context)
7474 ctxObj is ParseResult invocationContext )
7575 return invocationContext ;
7676
77- throw new InvalidOperationException ( "Host builder has no Invocation Context registered to it." ) ;
77+ throw new InvalidOperationException ( "Host builder context has no command-line parse result registered to it." ) ;
7878 }
7979
8080 public static IHost GetHost ( this ParseResult parseResult )
You can’t perform that action at this time.
0 commit comments