Skip to content

Show dashes in help #100

Open
Open
@robrich

Description

@robrich

Help doesn't make it obvious that the user needs to include dashes when passing options.

I was working with a novice user with one of my command-line apps. He passed in nothing, it correctly displayed the help:

b:big   This option makes it bigger
l:little  This option makes it smaller

(not the real options)

So he called myapp.exe b foo l bar and it happily did nothing.

Showing help like this would make it more obvious:

-b --big   This option makes it bigger
-l --little  This option makes it smaller

Would you accept a PR to change the help to this format?

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