Skip to content

Throw exception when unknown argument provided #234

@g105b

Description

@g105b

Named arguments --like-this or short versions like -l should only be accepted if they are defined. I just tried using a cli script with an incorrectly named argument and it just ignored it... easy mistake to make, but it would have been nice to have been recognised by the system. An error message like Invalid argument supplied: "--something" would have been nice.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNon-breaking improvements to existing behaviourgood first issueSuitable starting point for new contributorshelp wantedExtra input or contributions needed

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions