Skip to content

Duplicate argument error thrown when using 'at_least_one' #397

@linkm-ampere

Description

@linkm-ampere

using the example:

program.add_argument("--input_files")
.nargs(argparse::nargs_pattern::at_least_one);


Duplicate argument --input_files

given that I specify "at least one" then I presume that 1 or more are a given. But currently it's required have "append" added as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions