Skip to content

Can't pass in an empty string to an option #20

@Summertime

Description

@Summertime
commandline:
    option variableA, string, "var", "v", "default"
# none of the following work
executable --var:
# out: Missing value for option 'var'
executable --var=
# out: Missing value for option 'var'
executable --var ""
# out: Couldn't convert '' to string

There should only be an error if the user hasn't explicitly given a blank value, like the following

executable --var
# out: Missing value for option 'var'

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