Skip to content

InvalidCastException if int option equals to 'false' #339

@ironromeo

Description

@ironromeo

Providing invalid value "false" to int option (-v in my example) cause InvalidCastException:
myapp -v false
Providing any other string run as expected and return "Option 'v, validate' is defined with a bad format."
myapp -v anyotherstring

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions