Skip to content

The try.docopt.org site does not process repeating positional arguments properly #2

Description

@harijay

Hi This is an issue in only the browser based trial. For a command like

Usage:
pdb_prepare ... --ref=reference.pdb [--desc]"

If you give the above doc string repeat arguments to test it with for eg.

file1.pdb file2.pdb file4.pdb --ref=test.pdb

The result displayed in the browser has the file positional argument without any spaces.

"": "file1.pdbfile2.pdbfile4.pdb"}

Instead of

'': ['file1.pdb', 'file2.pdb', 'file4.pdb'],

Not an issue with the actual module though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions