remove: Deprecated --config-path flag (#190)

This commit is contained in:
Arne Beer 2023-02-22 14:34:31 +01:00 committed by GitHub
parent 72b9d4390c
commit bc1d49f38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 15 deletions

View File

@ -119,9 +119,6 @@ Options:
Usage: espup install [OPTIONS]
Options:
-c, --config-path <CONFIG_PATH>
Path to where the espup configuration file will be written to
-d, --default-host <DEFAULT_HOST>
Target triple of the host
@ -177,7 +174,6 @@ Options:
Usage: espup uninstall [OPTIONS]
Options:
-c, --config-path <CONFIG_PATH> Path to where the espup configuration file will be written to
-l, --log-level <LOG_LEVEL> Verbosity level of the logs [default: info] [possible values: debug, info, warn, error]
-a, --name <NAME> Xtensa Rust toolchain name [default: esp]
-h, --help Print help
@ -190,8 +186,6 @@ Options:
Usage: espup update [OPTIONS]
Options:
-c, --config-path <CONFIG_PATH>
Path to where the espup configuration file will be written to
-d, --default-host <DEFAULT_HOST>
Target triple of the host [possible values: x86_64-unknown-linux-gnu, aarch64-unknown-linux-gnu, x86_64-pc-windows-msvc, x86_64-pc-windows-gnu, x86_64-apple-darwin, aarch64-apple-darwin]
-l, --log-level <LOG_LEVEL>

View File

@ -60,9 +60,6 @@ pub enum SubCommand {
#[derive(Debug, Parser)]
pub struct InstallOpts {
/// Path to where the espup configuration file will be written to.
#[arg(short = 'c', long)]
pub config_path: Option<PathBuf>,
/// Target triple of the host.
#[arg(short = 'd', long, value_parser = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-pc-windows-gnu" , "x86_64-apple-darwin" , "aarch64-apple-darwin"])]
pub default_host: Option<String>,
@ -98,9 +95,6 @@ pub struct InstallOpts {
#[derive(Debug, Parser)]
pub struct UpdateOpts {
/// Path to where the espup configuration file will be written to.
#[arg(short = 'c', long)]
pub config_path: Option<PathBuf>,
/// Target triple of the host.
#[arg(short = 'd', long, value_parser = ["x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-msvc", "x86_64-pc-windows-gnu" , "x86_64-apple-darwin" , "aarch64-apple-darwin"])]
pub default_host: Option<String>,
@ -117,9 +111,6 @@ pub struct UpdateOpts {
#[derive(Debug, Parser)]
pub struct UninstallOpts {
/// Path to where the espup configuration file will be written to.
#[arg(short = 'c', long)]
pub config_path: Option<PathBuf>,
/// Verbosity level of the logs.
#[arg(short = 'l', long, default_value = "info", value_parser = ["debug", "info", "warn", "error"])]
pub log_level: String,