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)
This commit is contained in:
Alessandro Candido 2022-11-17 08:54:10 +01:00 committed by GitHub
parent 69ed65dbba
commit bb1f51a739
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.