Skip to content

Don't suppress other errors if a parameter wrongly appears multiple times #14

@cbeck88

Description

@cbeck88

If the program is used as ./my_prog --param foo --param bar, when param is a Parameter and not a Repeat field, the clap parser fails fast because we tell it to only expect this parameter to appear once.

Instead, these two parameter types should look the same from clap's point of view, so that if it appears multiple times, we can report other missing or invalid arguments 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