From e1a64fefd26f32616fdb75c75c55aa1782c1d8f5 Mon Sep 17 00:00:00 2001 From: Chris P Date: Thu, 15 Jun 2017 13:15:28 +0200 Subject: [PATCH] Mention the new -c feature --- CHANGELOG.md | 4 ++++ lib/formats/sh.sh | 2 ++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f3cc6897..dfd97de1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,10 @@ The format follows [keepachangelog.com]. Please stick to it. * Abort early in ``--equal`` if an mismatch has been encountered. * Test the shell script more thoroughly to avoid release troubles. +### Added + +* Add a new ``-c`` switch to ``rmlint.sh`` that cleans up empty directories while running the script. + ## [2.6.0 Penetrating Pineapple] -- 2017-06-03 ### Fixed diff --git a/lib/formats/sh.sh b/lib/formats/sh.sh index 67a4677c..39f34414 100644 --- a/lib/formats/sh.sh +++ b/lib/formats/sh.sh @@ -287,6 +287,8 @@ OPTIONS: -p Recheck that files are still identical before removing duplicates. -r Allow btrfs-clone to clone to read-only snapshots. (requires sudo) -n Do not perform any modifications, just print what would be done. (implies -d and -x) + -c Clean up empty directories while deleting duplicates. + -q Do not show progress. EOF }