From 737a6ff3e6f5563c74eace3de5fb853f6e21de50 Mon Sep 17 00:00:00 2001 From: rami3l Date: Sun, 21 Jan 2024 15:09:42 +0800 Subject: [PATCH] fixup! fixup! fixup! fixup! refactor(cli): (wip) rewrite `rustup (toolchain|update|(un)?install)` with `clap-derive` --- .../rustup/rustup_component_cmd_add_cmd_help_flag_stdout.toml | 4 ++-- .../rustup_component_cmd_remove_cmd_help_flag_stdout.toml | 4 ++-- .../rustup_toolchain_cmd_install_cmd_help_flag_stdout.toml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/suite/cli-ui/rustup/rustup_component_cmd_add_cmd_help_flag_stdout.toml b/tests/suite/cli-ui/rustup/rustup_component_cmd_add_cmd_help_flag_stdout.toml index 0c09e34889a..ee9a848d13e 100644 --- a/tests/suite/cli-ui/rustup/rustup_component_cmd_add_cmd_help_flag_stdout.toml +++ b/tests/suite/cli-ui/rustup/rustup_component_cmd_add_cmd_help_flag_stdout.toml @@ -4,10 +4,10 @@ stdout = """ ... Add a component to a Rust toolchain -Usage: rustup[EXE] component add [OPTIONS] ... +Usage: rustup[EXE] component add [OPTIONS] ... Arguments: - ... + ... Options: --toolchain Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more diff --git a/tests/suite/cli-ui/rustup/rustup_component_cmd_remove_cmd_help_flag_stdout.toml b/tests/suite/cli-ui/rustup/rustup_component_cmd_remove_cmd_help_flag_stdout.toml index 986dd456993..f30a8693a16 100644 --- a/tests/suite/cli-ui/rustup/rustup_component_cmd_remove_cmd_help_flag_stdout.toml +++ b/tests/suite/cli-ui/rustup/rustup_component_cmd_remove_cmd_help_flag_stdout.toml @@ -4,10 +4,10 @@ stdout = """ ... Remove a component from a Rust toolchain -Usage: rustup[EXE] component remove [OPTIONS] ... +Usage: rustup[EXE] component remove [OPTIONS] ... Arguments: - ... + ... Options: --toolchain Toolchain name, such as 'stable', 'nightly', or '1.8.0'. For more diff --git a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_install_cmd_help_flag_stdout.toml b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_install_cmd_help_flag_stdout.toml index 9ca11d1719e..405d6c2105b 100644 --- a/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_install_cmd_help_flag_stdout.toml +++ b/tests/suite/cli-ui/rustup/rustup_toolchain_cmd_install_cmd_help_flag_stdout.toml @@ -11,8 +11,8 @@ Arguments: `rustup help toolchain` Options: - --profile [possible values: minimal, default, complete] - -c, --component ... Add specific components on installation + --profile [possible values: minimal, default, complete] + -c, --component ... Add specific components on installation -t, --target ... Add specific targets on installation --no-self-update Don't perform self update when running the`rustup toolchain install` command