diff --git a/rustup-init.sh b/rustup-init.sh index a822c5e30d..a7701c5336 100755 --- a/rustup-init.sh +++ b/rustup-init.sh @@ -26,47 +26,36 @@ RUSTUP_UPDATE_ROOT="${RUSTUP_UPDATE_ROOT:-https://static.rust-lang.org/rustup}" usage() { cat < - Choose a default host triple - - --default-toolchain - Choose a default toolchain to install. Use 'none' to not install any toolchains at all - --profile - [default: default] [possible values: minimal, default, complete] - - -c, --component ... - Component name to also install - - -t, --target ... - Target name to also install - - --no-update-default-toolchain - Don't update any existing default toolchain after install - - --no-modify-path - Don't configure the PATH environment variable - - -h, --help - Print help information +The installer for rustup - -V, --version - Print version information +Usage: rustup-init[EXE] [OPTIONS] + +Options: + -v, --verbose + Enable verbose output + -q, --quiet + Disable progress output + -y + Disable confirmation prompt. + --default-host + Choose a default host triple + --default-toolchain + Choose a default toolchain to install. Use 'none' to not install any toolchains at all + --profile + [default: default] [possible values: minimal, default, complete] + -c, --component ... + Component name to also install + -t, --target ... + Target name to also install + --no-update-default-toolchain + Don't update any existing default toolchain after install + --no-modify-path + Don't configure the PATH environment variable + -h, --help + Print help + -V, --version + Print version EOF }