Skip to content

Commit

Permalink
fix(rustup-mode): adjust descriptions for rustup toolchain uninstall
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Aug 6, 2024
1 parent d3d1d98 commit 00ceced
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/cli/rustup_mode.rs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ enum RustupSubcmd {
opts: UpdateOpts,
},

/// Uninstall Rust toolchains
/// Uninstall the given toolchains
#[command(hide = true)]
Uninstall {
#[command(flatten)]
Expand Down Expand Up @@ -309,7 +309,7 @@ enum ToolchainSubcmd {
opts: UpdateOpts,
},

/// Uninstall a toolchain
/// Uninstall the given toolchains
#[command(alias = "remove")]
Uninstall {
#[command(flatten)]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Usage: rustup[EXE] toolchain <COMMAND>
Commands:
list List installed toolchains
install Install or update a given toolchain
uninstall Uninstall a toolchain
uninstall Uninstall the given toolchains
link Create a custom toolchain by symlinking to a directory
help Print this message or the help of the given subcommand(s)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
bin.name = "rustup"
args = ["toolchain", "uninstall", "--help"]
stdout = """
...
Uninstall a toolchain
Uninstall the given toolchains
Usage: rustup[EXE] toolchain uninstall <TOOLCHAIN>...
Expand Down

0 comments on commit 00ceced

Please sign in to comment.