HelpOption Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| HelpOption() |
When added to a Command, it configures the application to show help when one of the following options are specified on the command line:
|
| HelpOption(String, String[]) |
When added to a Command, it configures the application to show help when given name or one of the aliases are specified on the command line. |
HelpOption()
- Source:
- HelpOption.cs
When added to a Command, it configures the application to show help when one of the following options are specified on the command line:
-h
/h
--help
-?
/?
public:
HelpOption();
public HelpOption();
Public Sub New ()
Applies to
HelpOption(String, String[])
- Source:
- HelpOption.cs
When added to a Command, it configures the application to show help when given name or one of the aliases are specified on the command line.
public:
HelpOption(System::String ^ name, ... cli::array <System::String ^> ^ aliases);
public HelpOption(string name, params string[] aliases);
new System.CommandLine.Help.HelpOption : string * string[] -> System.CommandLine.Help.HelpOption
Public Sub New (name As String, ParamArray aliases As String())
Parameters
- name
- String
- aliases
- String[]