added short params

This commit is contained in:
sreedev
2023-01-23 20:05:14 -05:00
parent 5c86a080c4
commit f9b6d57968

View File

@@ -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<String>,
/// 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<usize>,
/// Follow links while scanning directories
#[arg(long)]
#[arg(long, short)]
pub follow_links: bool,
}