Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 12 additions & 1 deletion src/cli/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,18 @@ pub(crate) fn rustup_help() -> String {
for common platforms.

If you are new to Rust consider running `rustup doc --book` to
learn Rust."
learn Rust.

{HEADER}Common commands:{HEADER:#}

{LITERAL}$ rustup update{LITERAL:#}

Update Rust toolchains and rustup

{LITERAL}$ rustup toolchain install{LITERAL:#}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's $ rustup toolchain install stable since you've mentioned the stable release.


Install the current stable release of Rust for your host platform
"
)
}

Expand Down
22 changes: 21 additions & 1 deletion tests/suite/cli_rustup_ui/rustup_help_cmd.stdout.term.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 21 additions & 1 deletion tests/suite/cli_rustup_ui/rustup_help_flag.stdout.term.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 22 additions & 2 deletions tests/suite/cli_rustup_ui/rustup_only_options.stderr.term.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.