mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
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:
parent
69ed65dbba
commit
bb1f51a739
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue