From bb1f51a7397ec3025776ae7f57decfe6d00f9de2 Mon Sep 17 00:00:00 2001
From: Alessandro Candido <candido.ale@gmail.com>
Date: Thu, 17 Nov 2022 08:54:10 +0100
Subject: [PATCH] Short option for no-confirm flag (#540)

Add short name for no-confirm flag

Closes #536

The -y short name is a convention, often used by package managers (apt, yum, ...) and it is associated with a request of no interaction (thus often used in scripts, to automate workflows)
---
 crates/bin/src/args.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crates/bin/src/args.rs b/crates/bin/src/args.rs
index 899ced0a..571ba0f8 100644
--- a/crates/bin/src/args.rs
+++ b/crates/bin/src/args.rs
@@ -157,7 +157,7 @@ pub struct Args {
     pub dry_run: bool,
 
     /// Disable interactive mode / confirmation prompts.
-    #[clap(help_heading = "Options", long)]
+    #[clap(help_heading = "Options", short = 'y', long)]
     pub no_confirm: bool,
 
     /// Do not cleanup temporary files.