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