-
Notifications
You must be signed in to change notification settings - Fork 892
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
Consistently give toolchain argument a help text #1212
Conversation
☔ The latest upstream changes (presumably #1214) made this pull request unmergeable. Please resolve the merge conflicts. |
5611373
to
8c4632f
Compare
@bors: r+ Thanks! |
📌 Commit 8c4632f has been approved by |
☔ The latest upstream changes (presumably #1213) made this pull request unmergeable. Please resolve the merge conflicts. |
🔒 Merge conflict |
This adds a help text to every toolchain command line argument. The help text for 'rustup default' now reads: rustup-default Set the default toolchain USAGE: rustup default <toolchain> FLAGS: -h, --help Prints help information ARGS: <toolchain> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more information see `rustup help toolchain` DISCUSSION: Sets the default toolchain to the one specified. If the toolchain is not already installed then it is installed first. Two commands (update and install) already explained what the toolchain argument was -- but it was explained in the freeform "after help" text. These explanations have been moved to the arguments themselves for consistency. Fixes rust-lang#923.
8c4632f
to
fab6588
Compare
Rebased and resolved the merge conflicts. |
@bors: r+ Thanks! |
📌 Commit fab6588 has been approved by |
Consistently give toolchain argument a help text This adds a help text to every toolchain command line argument. The help text for 'rustup default' now reads: ``` rustup-default Set the default toolchain USAGE: rustup default <toolchain> FLAGS: -h, --help Prints help information ARGS: <toolchain> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more information see `rustup help toolchain` DISCUSSION: Sets the default toolchain to the one specified. If the toolchain is not already installed then it is installed first. ``` Two commands (update and install) already explained what the toolchain argument was -- but it was explained in the freeform "after help" text. These explanations have been moved to the arguments themselves for consistency. Fixes #923.
☀️ Test successful - status-appveyor, status-travis |
This adds a help text to every toolchain command line argument. The
help text for 'rustup default' now reads:
Two commands (update and install) already explained what the toolchain
argument was -- but it was explained in the freeform "after help"
text. These explanations have been moved to the arguments themselves
for consistency.
Fixes #923.