Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.
This repository was archived by the owner on May 27, 2025. It is now read-only.

comma::command_line_options: add a check if an option is valid #32

Description

@vlaskine

i.e. something like:

comma::command_line_options options( ac, av, "--help,-h,--verbose,-v,--fields,-f" );

throw, if list is given and an option is not in that list

(the difficult part is to figure out whether it is an option or unnamed value: e.g there is no way to tell whether -1 is an option or an unnamed value)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions