From fa12f85b6a9194b451c3b00e7c2f7af7d078d89e Mon Sep 17 00:00:00 2001 From: sreedev Date: Mon, 23 Jan 2023 19:12:55 -0500 Subject: [PATCH] make --dir a positional argument --- src/params.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/params.rs b/src/params.rs index 23817ce..53e96ef 100644 --- a/src/params.rs +++ b/src/params.rs @@ -10,8 +10,8 @@ pub struct Params { /// Filetypes to deduplicate (default = all) #[arg(short, long)] pub types: Option, - /// 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, /// Delete files interactively #[arg(long, short)]