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

Options::parse() should complain about unsupported options and should print help #144

Open
yurivict opened this issue Jan 27, 2022 · 0 comments

Comments

@yurivict
Copy link

This code:

int
main(int argc, char* argv[]) {
  Options opt("Testcase");
  opt.iterations(200);
  opt.parse(argc,argv);
  Script::run<Testcase,DFS,Options>(opt);
  return 0;
}

doesn't complain about bad arguments and doesn't print help.

It would be great if it would become a bit more user friendly.

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