Skip to content

Commit cfc7b84

Browse files
committed
feat(cli)!: add --deduplicate-hardlinks
1 parent dd877b8 commit cfc7b84

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/args.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ pub struct Args {
9393
#[clap(long, value_enum, default_value_t = BytesFormat::MetricUnits)]
9494
pub bytes_format: BytesFormat,
9595

96+
/// Detect duplicated hardlinks and remove their sizes from total.
97+
#[clap(long)]
98+
pub deduplicate_hardlinks: bool,
99+
96100
/// Print the tree top-down instead of bottom-up.
97101
#[clap(long)]
98102
pub top_down: bool,

0 commit comments

Comments
 (0)