5 references to CommandParsingException
dotnet-getdocument (5)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (5)
235
throw new
CommandParsingException
(command, $"Unexpected value '{longOption[1]}' for option '{option.LongName}'");
304
throw new
CommandParsingException
(command, $"Unexpected value '{shortOption[1]}' for option '{option.LongName}'");
323
throw new
CommandParsingException
(command, $"Unexpected value '{arg}' for option '{option.LongName}'");
375
throw new
CommandParsingException
(command, $"Missing value for option '{option.LongName}'");
585
throw new
CommandParsingException
(command, $"Unrecognized {argTypeName} '{args[index]}'");