Skip to content

Releases: wooga/wooga.docopt.rb

0.6.0.1

20 Feb 10:48
abe3beb
Compare
Choose a tag to compare

Build Status

New in version 0.6.0:

New argument options_first, disallows interspersing options and arguments. If you supply options_first=True to docopt, it will interpret all arguments as positional arguments after first positional argument.
If option with argument could be repeated, its default value will be interpreted as space-separated list. E.g. with [default: ./here ./there] will be interpreted as ['./here', './there'].