Specifies whether or not a NDesk.Options.Option takes a value, and if it does, whether it's optional or required.
|
Member name | Description |
---|---|
None |
No value is taken. If an option takes no value, then the callback function will receive null if the value is false (e.g. -optionName- was specified) and non-null if the value is true (e.g. -optionName, -optionName+). |
Optional |
A value is optional. This is specified by providing : after the option name within Option.Prototype. If a value is optional, the callback function will receive null value if no value is provided, and will otherwise receive a non-null value. |
Required |
A value is required. This is specified by providing = after the option name within Option.Prototype. |