File tree Expand file tree Collapse file tree 4 files changed +23
-23
lines changed
tests/suite/cli-ui/rustup Expand file tree Collapse file tree 4 files changed +23
-23
lines changed Original file line number Diff line number Diff line change @@ -125,6 +125,23 @@ enum RustupSubcmd {
125
125
#[ command( hide = true ) ]
126
126
DumpTestament ,
127
127
128
+ /// Modify or query the installed toolchains
129
+ Toolchain {
130
+ #[ command( subcommand) ]
131
+ subcmd : ToolchainSubcmd ,
132
+ } ,
133
+
134
+ /// Set the default toolchain
135
+ #[ command( after_help = DEFAULT_HELP ) ]
136
+ Default {
137
+ #[ arg( help = MAYBE_RESOLVABLE_TOOLCHAIN_ARG_HELP ) ]
138
+ toolchain : Option < MaybeResolvableToolchainName > ,
139
+
140
+ /// Install toolchains that require an emulator. See https://github.com/rust-lang/rustup/wiki/Non-host-toolchains
141
+ #[ arg( long) ]
142
+ force_non_host : bool ,
143
+ } ,
144
+
128
145
/// Show the active and installed toolchains or profiles
129
146
#[ command( after_help = SHOW_HELP ) ]
130
147
Show {
@@ -162,23 +179,6 @@ enum RustupSubcmd {
162
179
/// Check for updates to Rust toolchains and rustup
163
180
Check ,
164
181
165
- /// Set the default toolchain
166
- #[ command( after_help = DEFAULT_HELP ) ]
167
- Default {
168
- #[ arg( help = MAYBE_RESOLVABLE_TOOLCHAIN_ARG_HELP ) ]
169
- toolchain : Option < MaybeResolvableToolchainName > ,
170
-
171
- /// Install toolchains that require an emulator. See https://github.com/rust-lang/rustup/wiki/Non-host-toolchains
172
- #[ arg( long) ]
173
- force_non_host : bool ,
174
- } ,
175
-
176
- /// Modify or query the installed toolchains
177
- Toolchain {
178
- #[ command( subcommand) ]
179
- subcmd : ToolchainSubcmd ,
180
- } ,
181
-
182
182
/// Modify a toolchain's supported targets
183
183
Target {
184
184
#[ command( subcommand) ]
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ The Rust toolchain installer
9
9
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
10
10
11
11
Commands:
12
+ toolchain Modify or query the installed toolchains
13
+ default Set the default toolchain
12
14
show Show the active and installed toolchains or profiles
13
15
update Update Rust toolchains and rustup
14
16
check Check for updates to Rust toolchains and rustup
15
- default Set the default toolchain
16
- toolchain Modify or query the installed toolchains
17
17
target Modify a toolchain's supported targets
18
18
component Modify a toolchain's installed components
19
19
override Modify toolchain overrides for directories
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ The Rust toolchain installer
9
9
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
10
10
11
11
Commands:
12
+ toolchain Modify or query the installed toolchains
13
+ default Set the default toolchain
12
14
show Show the active and installed toolchains or profiles
13
15
update Update Rust toolchains and rustup
14
16
check Check for updates to Rust toolchains and rustup
15
- default Set the default toolchain
16
- toolchain Modify or query the installed toolchains
17
17
target Modify a toolchain's supported targets
18
18
component Modify a toolchain's installed components
19
19
override Modify toolchain overrides for directories
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ The Rust toolchain installer
9
9
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
10
10
11
11
Commands:
12
+ toolchain Modify or query the installed toolchains
13
+ default Set the default toolchain
12
14
show Show the active and installed toolchains or profiles
13
15
update Update Rust toolchains and rustup
14
16
check Check for updates to Rust toolchains and rustup
15
- default Set the default toolchain
16
- toolchain Modify or query the installed toolchains
17
17
target Modify a toolchain's supported targets
18
18
component Modify a toolchain's installed components
19
19
override Modify toolchain overrides for directories
You can’t perform that action at this time.
0 commit comments