SimpleOption
Descriptor for a simple option - describes flag, one-arg or multi-arg options (--opt [ARGS]...).
Descriptor for a simple option - describes flag, one-arg or multi-arg options (--opt [ARGS]...).
- Value Params
- argName
The name for this option argument, as it will appear in help.
- converter
The converter for this option.
- default
Default value to use if option is not found in input arguments.
- descr
Description for this option, for help output.
- hidden
Hides description of this option from help (this can be useful for debugging options).
- name
Name for new option, used as long option name in parsing, and for option identification.
- noshort
If set to true, then this option does not have any short name.
- required
Is this option required?
- short
Overload the char that will be used as short option name.
- validator
The function that validates the parsed value.