1 write to LongName
rzc (1)
CommandLine\CommandOption.cs (1)
20
LongName
= part.Substring(2);
8 references to LongName
rzc (8)
CommandLine\CommandLineApplication.cs (7)
165
option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.
LongName
, longOptionName, StringComparison.Ordinal));
229
throw new CommandParsingException(command, $"Unexpected value '{longOption[1]}' for option '{option.
LongName
}'");
298
throw new CommandParsingException(command, $"Unexpected value '{shortOption[1]}' for option '{option.
LongName
}'");
317
throw new CommandParsingException(command, $"Unexpected value '{arg}' for option '{option.
LongName
}'");
369
throw new CommandParsingException(command, $"Missing value for option '{option.
LongName
}'");
418
Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.
LongName
));
517
commandsBuilder.Append($"Use \"{target.Name} [command] --{OptionHelp.
LongName
}\" for more information about a command.");
CommandLine\CommandOption.cs (1)
46
if (string.IsNullOrEmpty(
LongName
) && string.IsNullOrEmpty(ShortName) && string.IsNullOrEmpty(SymbolName))