Skip to content

Commit affbdfe

Browse files
authored
Merge pull request #3064 from zohnannor/bump-clap
Bump `clap` to 3.0
2 parents de9a9f0 + dae8b6a commit affbdfe

File tree

53 files changed

+891
-823
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+891
-823
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
/Cargo.lock
44
/.settings
55
/.idea/
6+
/.vscode/
67
*~
78
/**/target
89
/home

Cargo.lock

+45-42
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ no-self-update = []
2929
anyhow.workspace = true
3030
cfg-if = "1.0"
3131
chrono = "0.4"
32-
clap = {version = "2", features = ["wrap_help"]}
32+
clap = {version = "3", features = ["wrap_help"]}
33+
clap_complete = "3"
3334
download = {path = "download", default-features = false}
3435
effective-limits = "0.5.5"
3536
enum-map = "2.4.2"

rustup-init.sh

+33-14
Original file line numberDiff line numberDiff line change
@@ -29,25 +29,44 @@ rustup-init 1.25.2 (8c4dad73d 2023-02-01)
2929
The installer for rustup
3030
3131
USAGE:
32-
rustup-init [FLAGS] [OPTIONS]
33-
34-
FLAGS:
35-
-v, --verbose Enable verbose output
36-
-q, --quiet Disable progress output
37-
-y Disable confirmation prompt.
38-
--no-update-default-toolchain Don't update any existing default toolchain after install
39-
--no-modify-path Don't configure the PATH environment variable
40-
-h, --help Prints help information
41-
-V, --version Prints version information
32+
rustup-init [OPTIONS]
4233
4334
OPTIONS:
44-
--default-host <default-host> Choose a default host triple
35+
-v, --verbose
36+
Enable verbose output
37+
38+
-q, --quiet
39+
Disable progress output
40+
41+
-y
42+
Disable confirmation prompt.
43+
44+
--default-host <default-host>
45+
Choose a default host triple
46+
4547
--default-toolchain <default-toolchain>
4648
Choose a default toolchain to install. Use 'none' to not install any toolchains at all
4749
48-
--profile <profile> [default: default] [possible values: minimal, default, complete]
49-
-c, --component <components>... Component name to also install
50-
-t, --target <targets>... Target name to also install
50+
--profile <profile>
51+
[default: default] [possible values: minimal, default, complete]
52+
53+
-c, --component <components>...
54+
Component name to also install
55+
56+
-t, --target <targets>...
57+
Target name to also install
58+
59+
--no-update-default-toolchain
60+
Don't update any existing default toolchain after install
61+
62+
--no-modify-path
63+
Don't configure the PATH environment variable
64+
65+
-h, --help
66+
Print help information
67+
68+
-V, --version
69+
Print version information
5170
EOF
5271
}
5372

0 commit comments

Comments
 (0)