-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
add {before/after}_help_{short/long} to App struct #1903
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
Comments
I think this would be implemented as |
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 11, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 12, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 12, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 12, 2020
Blaxar
added a commit
to Blaxar/clap
that referenced
this issue
Jul 13, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Make sure you completed the following tasks
Describe your use case
I'm looking to use the help menu to replace creating a separate man page. To not bombard users with info, I'd like to include detailed information when they use the long --help flag for sections that need more detail. As a random example of more detail, if you "man curl", you'll see sections at the end explaining error codes that you wouldn't see with "curl --help" and I think {before/after}help{short/long} would provide that location.
Describe the solution you'd like
Alternatives, if applicable
make man pages or a hook into cargo doc from clap, although I think the suggested solution is easier.
The text was updated successfully, but these errors were encountered: