Skip to content

Commit

Permalink
refactor: change encrypt option to a required boolean in ExportOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
Kremilly committed Dec 19, 2024
1 parent b1f3b38 commit 00fa765
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/args_cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ pub struct ExportOptions {

#[arg(short, long)]
/// Encryption file path
pub encrypt: Option<bool>,
pub encrypt: bool,
}

#[derive(Parser)]
Expand Down
2 changes: 1 addition & 1 deletion src/dump_sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ impl DumpSync {
&backup_path,
Some(interval),
&backup_path,
encrypt
Some(encrypt)
).export();
}

Expand Down

0 comments on commit 00fa765

Please sign in to comment.