Skip to content

In usage description: positional arg between options instead of after #24

@bpj

Description

@bpj

In this generated usage description the positional input file argument comes second to last between the -e and -E options rather than last as I would expect, although in the code it is defined the very last. Is this a bug or have I misunderstood something?

Usage: links2list [-h] [-l <id> <label>] [--cf <cf-label>]
       [--see <see-label>] [-c {lower,l,none,n,title,t,upper,u}]
       [-a {lower,l,number,n,upper,u}] [-r <markup format>]
       [-f <sprintf format>] [-w <markup format>] [-d]
       [-e <name> <char|code>]
       <filename>.<ext>|<lib.name> [{lua,json,y[a]ml}]
       [-E <filename>.<ext>|<lib.name> [{lua,json,y[a]ml}]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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