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

@vlaskine

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions