Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why the usage output is so simple? #80

Closed
TheWaWaR opened this issue Aug 15, 2022 · 4 comments
Closed

Why the usage output is so simple? #80

TheWaWaR opened this issue Aug 15, 2022 · 4 comments

Comments

@TheWaWaR
Copy link

The usage output is so simple even missing the description of the parameter. I think it's bad for user experience.

How about support usage output just like clap-rs?

$ demo --help
clap [..]
A simple to use, efficient, and full-featured Command Line Argument Parser

USAGE:
    demo[EXE] [OPTIONS] --name <NAME>

OPTIONS:
    -n, --name <NAME>      Name of the person to greet
    -c, --count <COUNT>    Number of times to greet [default: 1]
    -h, --help             Print help information
    -V, --version          Print version information
@Hejsil
Copy link
Owner

Hejsil commented Aug 15, 2022

The usage output is so simple even missing the description of the parameter.

I'm a little confused. Have you seen clap.help?

@TheWaWaR
Copy link
Author

TheWaWaR commented Aug 15, 2022

I'm a little confused. Have you seen clap.help?

Oh, I see. Sorry about missing that. I think maybe better use clap.hep() in example code, I guess that's most users' want.

@Hejsil
Copy link
Owner

Hejsil commented Aug 15, 2022

Cool. Seemed like you had missed it, but wasn't sure. Anything else, or can this be closed?

@TheWaWaR
Copy link
Author

Nothing more. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants