1 write to LongName
dotnet-getdocument (1)
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
22LongName = part.Substring(2);
11 references to LongName
dotnet-getdocument (11)
ProjectOptions.cs (3)
36throw new CommandException(Resources.FormatMissingOption(AssemblyPath.LongName)); 41throw new CommandException(Resources.FormatMissingOption(ProjectName.LongName)); 46throw new CommandException(Resources.FormatMissingOption(TargetFramework.LongName));
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (7)
171option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.LongName, longOptionName, StringComparison.Ordinal)); 235throw new CommandParsingException(command, $"Unexpected value '{longOption[1]}' for option '{option.LongName}'"); 304throw new CommandParsingException(command, $"Unexpected value '{shortOption[1]}' for option '{option.LongName}'"); 323throw new CommandParsingException(command, $"Unexpected value '{arg}' for option '{option.LongName}'"); 375throw new CommandParsingException(command, $"Missing value for option '{option.LongName}'"); 424Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.LongName)); 523commandsBuilder.Append(FormattableString.Invariant($"Use \"{target.Name} [command] --{OptionHelp.LongName}\" for more information about a command."));
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
48if (string.IsNullOrEmpty(LongName) && string.IsNullOrEmpty(ShortName) && string.IsNullOrEmpty(SymbolName))