public bool AutoHelpArgument { get; set; }
Public Property AutoHelpArgument As Boolean
Get
Set
Dim instance As ParseOptionsAttribute
Dim value As Boolean
value = instance.AutoHelpArgument
instance.AutoHelpArgument = value
public:
property bool AutoHelpArgument {
bool get ();
void set (bool value);
}
If this property is , the CommandLineParser will automatically add an argument with the name "Help". If using ParsingModeLongShort, this argument will have the short name "?" and a short alias "h"; otherwise, it will have the aliases "?" and "h". When supplied, this argument will cancel parsing and cause usage help to be printed.
If you already have an argument conflicting with the names or aliases above, the automatic help argument will not be created even if this property is .
The name, aliases and description can be customized by using a custom LocalizedStringProvider class.
This value can be overridden by the ParseOptionsAutoHelpArgument property.