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