Skip to content

Commit

Permalink
Remove tip for --default-toolchain none
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustin170506 committed Feb 18, 2023
1 parent 342fa93 commit 9d513b6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 10 deletions.
4 changes: 1 addition & 3 deletions rustup-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ FLAGS:
OPTIONS:
--default-host <default-host> Choose a default host triple
--default-toolchain <default-toolchain>
Choose a default toolchain to install. Use 'none' to not install any toolchains at all
--default-toolchain <default-toolchain> Choose a default toolchain to install
--profile <profile> [default: default] [possible values: minimal, default, complete]
-c, --component <components>... Component name to also install
-t, --target <targets>... Target name to also install
Expand Down
2 changes: 1 addition & 1 deletion src/cli/setup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ pub fn main() -> Result<utils::ExitCode> {
Arg::with_name("default-toolchain")
.long("default-toolchain")
.takes_value(true)
.help("Choose a default toolchain to install. Use 'none' to not install any toolchains at all"),
.help("Choose a default toolchain to install"),
)
.arg(
Arg::with_name("profile")
Expand Down
4 changes: 1 addition & 3 deletions tests/cli-ui/rustup-init/rustup-init_help_flag_stdout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ FLAGS:
OPTIONS:
--default-host <default-host> Choose a default host triple
--default-toolchain <default-toolchain>
Choose a default toolchain to install. Use 'none' to not install any toolchains at all
--default-toolchain <default-toolchain> Choose a default toolchain to install
--profile <profile> [default: default] [possible values: minimal, default, complete]
-c, --component <components>... Component name to also install
-t, --target <targets>... Target name to also install
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,7 @@ FLAGS:
OPTIONS:
--default-host <default-host> Choose a default host triple
--default-toolchain <default-toolchain>
Choose a default toolchain to install. Use 'none' to not install any toolchains at all
--default-toolchain <default-toolchain> Choose a default toolchain to install
--profile <profile> [default: default] [possible values: minimal, default, complete]
-c, --component <components>... Component name to also install
-t, --target <targets>... Target name to also install
Expand Down

0 comments on commit 9d513b6

Please sign in to comment.