From f9b6d579689b7a44e5494394ae185b8fe0b0b649 Mon Sep 17 00:00:00 2001 From: sreedev Date: Mon, 23 Jan 2023 20:05:14 -0500 Subject: [PATCH] added short params --- src/params.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/params.rs b/src/params.rs index 04d4bd7..b467695 100644 --- a/src/params.rs +++ b/src/params.rs @@ -17,7 +17,7 @@ pub struct Params { #[arg(long, short)] pub interactive: bool, /// Minimum filesize of duplicates to scan (e.g., 100B/1K/2M/3G/4T). - #[arg(long, default_value = "1b")] + #[arg(long, short = 's', default_value = "1b")] pub min_size: Option, /// Max Depth to scan while looking for duplicates #[arg(long, short = 'd')] @@ -26,7 +26,7 @@ pub struct Params { #[arg(long)] pub min_depth: Option, /// Follow links while scanning directories - #[arg(long)] + #[arg(long, short)] pub follow_links: bool, }