cxxopts
cxxopts copied to clipboard
Allow ? in (short) option name
Hello,
I was trying to mimick a parser built with glibc's argp. argp's built in help option can be invoked with either the -? or the --help option.
When I write the following, I get an exception ("Invalid option format '?,help'")
options.add_options("")("?,help", "Print this help")
Would it be possible to allow the ? character, at least for short option names?
Regards Thomas
That should be pretty straight forward. I can't see why that can't be a valid character.