Add -y as alias to --no-confirm

This commit is contained in:
Leonard Steppy 2026-08-26 15:18:40 +02:00
parent 24fec093d2
commit 0583eecf81
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -186,7 +186,7 @@ checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
[[package]]
name = "multi-ssh"
version = "0.1.0"
version = "0.2.0"
dependencies = [
"clap",
"homedir",

View File

@ -1,6 +1,6 @@
[package]
name = "multi-ssh"
version = "0.1.0"
version = "0.2.0"
edition = "2021"
[dependencies]

View File

@ -79,7 +79,7 @@ enum Command {
#[arg(short = 'd', long, default_value = "plugins")]
upload_directory: PathBuf,
/// Skip the confirmation dialog
#[arg(long, default_value = "false")]
#[arg(short = 'y', long, default_value = "false")]
no_confirm: bool,
/// The prefix of the name of older versions of the file, which should be replaced or deleted
#[arg(short, long)]