Skip to content

Option values cannot start with dash #709

Open
@rwhit

Description

@rwhit

I have an option to provide a key to a utility. The key value in one instance happens to start with "-". So running:

utitility.exe --key -gobbledygook123

produces an error message:

ERROR(S):
Option 'g' is unknown.
Required option 'key' is missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions