-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
add {before/after}_help_{short/long} to App struct #1903
Comments
I think this would be implemented as |
CreepySkeleton
added
A-help
Area: documentation, including docs.rs, readme, examples, etc...
D: easy
labels
Jun 30, 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 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
bors bot
added a commit
that referenced
this issue
Jul 19, 2020
2008: feat: Added {before/after}_help_long to App struct, closed #1903 r=pksunkara a=Blaxar Co-authored-by: Blaxar Waldarax <[email protected]>
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: