Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
/Cargo.lock
/.settings
/.idea/
/.vscode/
*~
/**/target
/home
Expand Down
87 changes: 45 additions & 42 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ no-self-update = []
anyhow.workspace = true
cfg-if = "1.0"
chrono = "0.4"
clap = {version = "2", features = ["wrap_help"]}
clap = {version = "3", features = ["wrap_help"]}
clap_complete = "3"
download = {path = "download", default-features = false}
effective-limits = "0.5.5"
enum-map = "2.4.2"
Expand Down
48 changes: 34 additions & 14 deletions rustup-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,25 +29,45 @@ rustup-init 1.25.2 (8c4dad73d 2023-02-01)
The installer for rustup

USAGE:
rustup-init [FLAGS] [OPTIONS]

FLAGS:
-v, --verbose Enable verbose output
-q, --quiet Disable progress output
-y Disable confirmation prompt.
--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 Prints help information
-V, --version Prints version information
rustup-init [OPTIONS]

OPTIONS:
--default-host <default-host> Choose a default host triple
-v, --verbose
Enable verbose output

-q, --quiet
Disable progress output

-y
Disable confirmation prompt.

--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

--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
--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

--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

-V, --version
Print version information

EOF
}

Expand Down
Loading