Closed kashti3 closed 2 years ago
While using... .... AppRunner(settings) .UseDefaultMiddleware(excludeCancellationHandlers : true, excludeVersionMiddleware : true).Run(args); .....
When trying to run [exeFileName] -v receiving "Unrecognized command or argument '-v'" error message
This is by design. The version option is only added to the root command when the version middleware is used.
While using... .... AppRunner(settings)
.UseDefaultMiddleware(excludeCancellationHandlers : true,
excludeVersionMiddleware : true).Run(args);
.....
When trying to run [exeFileName] -v receiving "Unrecognized command or argument '-v'" error message