1 write to LongName
dotnet-user-secrets (1)
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
22
LongName
= part.Substring(2);
8 references to LongName
dotnet-user-secrets (8)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (7)
171
option = command.GetOptions().SingleOrDefault(opt => string.Equals(opt.
LongName
, longOptionName, StringComparison.Ordinal));
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
}'");
424
Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.", OptionHelp.
LongName
));
523
commandsBuilder.Append(FormattableString.Invariant($"Use \"{target.Name} [command] --{OptionHelp.
LongName
}\" for more information about a command."));
src\Shared\CommandLineUtils\CommandLine\CommandOption.cs (1)
48
if (string.IsNullOrEmpty(
LongName
) && string.IsNullOrEmpty(ShortName) && string.IsNullOrEmpty(SymbolName))