Skip to content

Commit b899806

Browse files
committed
feat(cli/help): add toolchain install tips to rustup update's discussion
1 parent c9a0451 commit b899806

File tree

4 files changed

+60
-4
lines changed

4 files changed

+60
-4
lines changed

src/cli/help.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ pub(crate) fn update_help() -> String {
4949
updates rustup itself.
5050
5151
If given a toolchain argument then `update` updates that
52-
toolchain, the same as `rustup toolchain install`."
52+
toolchain, the same as `rustup toolchain install`.
53+
54+
{TOOLCHAIN_INSTALL_HINT}"
5355
)
5456
}
5557

tests/suite/cli_rustup_ui/rustup_up_cmd_help_flag.stdout.term.svg

Lines changed: 19 additions & 1 deletion
Loading

tests/suite/cli_rustup_ui/rustup_update_cmd_help_flag.stdout.term.svg

Lines changed: 19 additions & 1 deletion
Loading

tests/suite/cli_rustup_ui/rustup_upgrade_cmd_help_flag.stdout.term.svg

Lines changed: 19 additions & 1 deletion
Loading

0 commit comments

Comments
 (0)