HelpTextAutoBuild Method (Object, ActionHelpText, Boolean) |
Creates a new instance of the
HelpText class using common defaults.
Namespace: X3Platform.CommandLine.TextAssembly: X3Platform.Support (in X3Platform.Support.dll) Version: 1.0.0.0 (2.0.0.0)
Syntaxpublic static HelpText AutoBuild(
Object options,
Action<HelpText> onError,
bool verbsIndex = false
)
public:
static HelpText^ AutoBuild(
Object^ options,
Action<HelpText^>^ onError,
bool verbsIndex = false
)
Parameters
- options
- Type: SystemObject
The instance that collected command line arguments parsed with Parser class. - onError
- Type: SystemActionHelpText
A delegate used to customize the text block for reporting parsing errors. - verbsIndex (Optional)
- Type: SystemBoolean
If true the output style is consistent with verb commands (no dashes), otherwise it outputs options.
Return Value
Type:
HelpText
An instance of
HelpText class.
See Also