Skip to content

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

Open
@yurivict

Description

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.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions