make --dir a positional argument

This commit is contained in:
sreedev
2023-01-23 19:12:55 -05:00
parent 7d66aeef6e
commit fa12f85b6a

View File

@@ -10,8 +10,8 @@ pub struct Params {
/// Filetypes to deduplicate (default = all)
#[arg(short, long)]
pub types: Option<String>,
/// Run Deduplicator on dir different from pwd
#[arg(long, value_hint = ValueHint::DirPath)]
/// Run Deduplicator on dir different from pwd (e.g., ~/Pictures )
#[arg(value_hint = ValueHint::DirPath, value_name = "scan_dir_path")]
pub dir: Option<PathBuf>,
/// Delete files interactively
#[arg(long, short)]