Skip to content

Commit

Permalink
fix -i option
Browse files Browse the repository at this point in the history
  • Loading branch information
AmineZouitine committed Oct 12, 2022
1 parent 9555fa9 commit e38da9d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/arguments_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ pub struct ArgumentsManager {

/// prompt before every removal
#[arg(short = 'i')]
pub confirmation_once: bool,
pub confirmation_always: bool,

/// prompt once before removing more than three files, or when removing recursively;
#[arg(short = 'I')]
pub confirmation_always: bool,
pub confirmation_once: bool,

/// remove directories and their contents recursively
#[arg(short = 'r', long = "recursive")]
Expand Down

0 comments on commit e38da9d

Please sign in to comment.