Skip to content

Option values cannot start with dash #709

@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
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions