Skip to content

Help Usage - Put Positional Arguments First #414

@jan-moravec

Description

@jan-moravec

Can we update the help for the positional arguments and put them to the front?

E.g. change:

Usage: apply [--help] [--version] [--serial VAR...] [--yes] INPUT

To:

Usage: apply INPUT [--help] [--version] [--serial VAR...] [--yes]

According to the current help the sample does not work if the list of serial numbers is used before the positional argument.

If we have optional argument with varying number of values, it should be called after the positional argument. Otherwise the optional argument might consume the positional one.

This issue is linked to #335

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions