Skip to content

Commit

Permalink
fixup! refactor(cli): rewrite rustup (self|set) with clap-derive
Browse files Browse the repository at this point in the history
  • Loading branch information
rami3l committed Jan 23, 2024
1 parent bea573e commit 47f6c0c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/suite/cli-ui/rustup/rustup_help_cmd_stdout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The Rust toolchain installer
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
Commands:
self Modify the rustup installation
set Alter rustup settings
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
Expand All @@ -23,6 +21,8 @@ Commands:
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
...
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Print this message or the help of the given subcommand(s)
Expand Down
4 changes: 2 additions & 2 deletions tests/suite/cli-ui/rustup/rustup_help_flag_stdout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The Rust toolchain installer
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
Commands:
self Modify the rustup installation
set Alter rustup settings
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
Expand All @@ -23,6 +21,8 @@ Commands:
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
...
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Print this message or the help of the given subcommand(s)
Expand Down
4 changes: 2 additions & 2 deletions tests/suite/cli-ui/rustup/rustup_only_options_stdout.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ The Rust toolchain installer
Usage: rustup[EXE] [OPTIONS] [+toolchain] [COMMAND]
Commands:
self Modify the rustup installation
set Alter rustup settings
show Show the active and installed toolchains or profiles
update Update Rust toolchains and rustup
check Check for updates to Rust toolchains and rustup
Expand All @@ -23,6 +21,8 @@ Commands:
which Display which binary will be run for a given command
doc Open the documentation for the current toolchain
...
self Modify the rustup installation
set Alter rustup settings
completions Generate tab-completion scripts for your shell
help Print this message or the help of the given subcommand(s)
Expand Down

0 comments on commit 47f6c0c

Please sign in to comment.