Skip to content

Commit 44fd704

Browse files
committed
[WIP] Add Listing of Installed Components
This feature adds the ability to only list installed components rather than all available components.
1 parent 194026d commit 44fd704

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rustup-cli/rustup_mode.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@ pub fn cli() -> App<'static, 'static> {
291291
.subcommand(
292292
SubCommand::with_name("list")
293293
.about("List installed and available components")
294+
.arg(Arg::with_name("installed").long("installed").help("List only installed toolchains"))
294295
.arg(
295296
Arg::with_name("toolchain")
296297
.help(TOOLCHAIN_ARG_HELP)

0 commit comments

Comments
 (0)