Skip to content
New issue

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

do we have a argh::parser::has_option(const std::string &opt) #32

Open
etorth opened this issue Nov 26, 2018 · 0 comments
Open

do we have a argh::parser::has_option(const std::string &opt) #32

etorth opened this issue Nov 26, 2018 · 0 comments

Comments

@etorth
Copy link

etorth commented Nov 26, 2018

// something to check if the specified option presents
// by parameter arg or flag arg
// you can ignore if this if you think this breaks your api orthogonality
return cmd[opt] || cmd(opt);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant