Skip to content

Parser does not correctly identify option description if on new line #31

@archshift

Description

@archshift

Example of what does not work:

Options:
  --path=<path>
            Some description of what is happening with this path

Error:

Docopt usage string could not be parsed
--path must not have an argument

Examples of what does work:

Options:
  --path=<path> 
            Some description of what is happening with this path
  --path=<path> [default: somedefault]
            Some description of what is happening with this path
  --path=<path>  Some description of what is happening with this path

(for the first working example, note the extra space after --path=<path>

System:

OS X El Capitan (10.11)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions