cxxopts icon indicating copy to clipboard operation
cxxopts copied to clipboard

optional handling for unhandled options

Open jwinarske opened this issue 8 months ago • 0 comments

I have a case where I want to store unhandled options in a std::vector<std::string> and use later.

I'm thinking adding a std::vector<std::string> parameter to the parse method with a default value of nullptr would suffice. If parameter was not nullptr the unhandled options would be stored in the vector reference. If nullptr, it would follow the existing logic.

Would you accept a PR for this?

jwinarske avatar Jun 10 '24 16:06 jwinarske