Documentation for the C# command-line option parsing library |
|
UsageBuilder.AddArgument Method
Add an argument overview to the usage
Parameters
-
name
- Short name description of the argument
-
description
- Description of the argument
-
type
- Supported data type for the argument (
typeof(string)
is usually the best choice).
-
optional
- True if the argument should be marked as optional
Remarks
Can only be called when a "section" tag is active. Does not leave a new active tag open.
See Also
UsageBuilder Class | CommandLine.OptParse Namespace