Merge pull request #45 from sreedevk/feature/make_dir_positional

make --dir a positional argument
This commit is contained in:
Sreedev Kodichath
2023-01-23 20:02:00 -05:00
committed by GitHub

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)]