Public Member Functions | |
void | testRegisteredOptions () |
void | testUnregisteredOptions () |
void | testBadArgsForUnregisteredOptions () |
void | testRegisteredOptionsWithAlternativeNames () |
|
|
|
If the options are known, it's better to register them before parsing. Then options names don't need a leading '-', and even values that look like options can be recognized (for example "-temperature -273"). |
|
|
|
Usually it also works with options that were not known beforehand. |