Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! refactor(cli): (wip) rewrite `rustup (too…
Browse files Browse the repository at this point in the history
…lchain|update|(un)?install)` with `clap-derive`
  • Loading branch information
rami3l committed Jan 21, 2024
1 parent 319c02b commit 737a6ff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ stdout = """
...
Add a component to a Rust toolchain
Usage: rustup[EXE] component add [OPTIONS] <component>...
Usage: rustup[EXE] component add [OPTIONS] <COMPONENT>...
Arguments:
<component>...
<COMPONENT>...
Options:
--toolchain <TOOLCHAIN> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ stdout = """
...
Remove a component from a Rust toolchain
Usage: rustup[EXE] component remove [OPTIONS] <component>...
Usage: rustup[EXE] component remove [OPTIONS] <COMPONENT>...
Arguments:
<component>...
<COMPONENT>...
Options:
--toolchain <TOOLCHAIN> Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ Arguments:
`rustup help toolchain`
Options:
--profile <profile> [possible values: minimal, default, complete]
-c, --component <components>... Add specific components on installation
--profile <PROFILE> [possible values: minimal, default, complete]
-c, --component <COMPONENT>... Add specific components on installation
-t, --target <targets>... Add specific targets on installation
--no-self-update Don't perform self update when running the`rustup toolchain
install` command
Expand Down

0 comments on commit 737a6ff

Please sign in to comment.