Skip to content

option "foo", :aliases => "f", :required => true should work #159

@sferik

Description

@sferik
option "foo", :aliases => "f", :required => true

This should create a required option --foo that can be substituted with the option -f, however if you specify -f you get the error:

No value provided for required options '--foo'

I'm using thor 0.15.0.rc.

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