docopt/docopt — pull request #157 by nicolaisi (2013-10-23 13:07:55+00:00)
Title: Multiple default arguments

This is in respond to https://github.com/docopt/docopt/issues/127

"""
Usage:
cleanup.py
cleanup.py [--data=]

Options:
-d --data= Input data [default: foo, bar]

"""

by default, this will return a list containing two parameter, if only one value, it will not be a list.

I added a testcase for this as well. you can check it up.