Skip to content

docopt.rb/examples/any_options_example.rb Fails to parse matches #32

Open
@shadowbq

Description

@shadowbq

docopt.rb/examples/any_options_example.rb

Running test.rb with an option and a valid <port> should not fail.

> test.rb -q 123

Usage:
  exe/test.rb [options] <port>
Options:
  -h --help                show this help message and exit
  --version                show version and exit
  -n, --number N           use N as a number
  -t, --timeout TIMEOUT    set timeout TIMEOUT seconds
  --apply                  apply changes to database
  -q                       operate in quiet mode

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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