1 write to OptionHelp
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (1)
386
OptionHelp
= Option(template, "Show help information", CommandOptionType.NoValue);
7 references to OptionHelp
Microsoft.AspNetCore.Shared.Tests (7)
src\Shared\CommandLineUtils\CommandLine\CommandLineApplication.cs (7)
219
if (command.
OptionHelp
== option)
288
if (command.
OptionHelp
== option)
388
return
OptionHelp
;
422
if (
OptionHelp
!= null)
424
Out.WriteLine(string.Format(CultureInfo.CurrentCulture, "Specify --{0} for a list of available options and commands.",
OptionHelp
.LongName));
520
if (
OptionHelp
!= null)
523
commandsBuilder.Append(FormattableString.Invariant($"Use \"{target.Name} [command] --{
OptionHelp
.LongName}\" for more information about a command."));