Closed
Description
(This is a feature I added to boost::program_options a couple of years back.)
Right now, if you name an option "x,long-name-of-x,another-long-name-of-x"
- you get an error:
terminate called after throwing an instance of 'cxxopts::invalid_option_format_error'
what(): Invalid option format 'x,long-name-of-x,another-long-name-of-x'
instead, cxxopts should support having multiple aliases for the (first and primary) name of the option - all of which would be accepted on the command-line just as though the primary name were used.
Metadata
Metadata
Assignees
Labels
No labels