We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
options.add_options()( "opt", "desc", cxxopts::value<std::string>()->limit_value( std::unordered_set<std::string>{"only", "these", "values", "are", "allowed"}));
The text was updated successfully, but these errors were encountered:
I am working on adding a way to do arbitrary option validation like this.
Sorry, something went wrong.
I'm also interested in such a feature. Are there any news on this?
I'll see if I can get to this soon.
No branches or pull requests
The text was updated successfully, but these errors were encountered: