-
Notifications
You must be signed in to change notification settings - Fork 2.3k
chore: improve output of -h/--help
#1268
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
Conversation
0119e2e to
cfb385d
Compare
749330a to
77cc49f
Compare
2df53f9 to
c684302
Compare
d7e0f0c to
5b87e90
Compare
mattsse
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm,
like the breakdown of buildargs
| pub force: bool, | ||
| pub via_ir: bool, | ||
|
|
||
| #[clap(flatten, next_help_heading = "PROJECT OPTIONS")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe PROJECT LAYOUT/DIR OPTIONS ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can do in a follow up PR
Motivation
The output of
-hand--helpis inconsistent and sometimes not super helpful.Solution
Goes through all help text and updates the wording. I also move some of the longer-form help text into
long_helpto shorten the output of-h.I'm going through this as I am rewriting the command references in the book.
Tasks
Walletstruct-h/--help