Skip to content

Supplying the same argument twice doesn't cause error #117

@yurivict

Description

@yurivict

These arguments:

args::ValueFlag<std::string>  a1  (parser, "a1", "a1", {'d', "arg1"});
args::ValueFlag<std::string>  a2  (parser, "a2", "a2", {'d', "arg2"});

aren't valid since both are activated with -d, but args doesn't fail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions