Skip to content

docopt.c does not support docopt's [options] shortcut #22

@amadawn

Description

@amadawn

The docopt documentation says:

"[options]" is a shortcut that allows to avoid listing all options (from list of options with descriptions) in a pattern. For example:

Usage: my_program [options]

--all List everything.
--long Long output.
--human-readable Display in human-readable format.

is equivalent to:

Usage: my_program [--all --long --human-readable]

--all List everything.
--long Long output.
--human-readable Display in human-readable format.

However, it seems that docopt.c ignores this shortcut. It would be really nice if it didn't.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions