mirror of
https://github.com/sreedevk/deduplicator.git
synced 2026-09-07 02:24:24 +00:00
make --dir a positional argument
This commit is contained in:
@@ -10,8 +10,8 @@ pub struct Params {
|
|||||||
/// Filetypes to deduplicate (default = all)
|
/// Filetypes to deduplicate (default = all)
|
||||||
#[arg(short, long)]
|
#[arg(short, long)]
|
||||||
pub types: Option<String>,
|
pub types: Option<String>,
|
||||||
/// Run Deduplicator on dir different from pwd
|
/// Run Deduplicator on dir different from pwd (e.g., ~/Pictures )
|
||||||
#[arg(long, value_hint = ValueHint::DirPath)]
|
#[arg(value_hint = ValueHint::DirPath, value_name = "scan_dir_path")]
|
||||||
pub dir: Option<PathBuf>,
|
pub dir: Option<PathBuf>,
|
||||||
/// Delete files interactively
|
/// Delete files interactively
|
||||||
#[arg(long, short)]
|
#[arg(long, short)]
|
||||||
|
|||||||
Reference in New Issue
Block a user