Port of the Python docopt module.