From a4471ceb74bc263c1cb894dafe785e4c20fba2aa Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 16 Sep 2025 21:42:58 +0000 Subject: [PATCH] compact: support --cow/--no-cow switch Users on btrfs may prefer to sacrifice performance for data safety with RAID. Allow them to do so by supporting the --cow switch. I missed this when I added --cow support to the other commands. Fixes: db671788 (support --cow switch to preserve CoW on btrfs, 2025-08-26) --- script/public-inbox-compact | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/public-inbox-compact b/script/public-inbox-compact index 1062be5a0..8d51d92e0 100755 --- a/script/public-inbox-compact +++ b/script/public-inbox-compact @@ -19,7 +19,7 @@ See public-inbox-compact(1) man page for full documentation. EOF GetOptions($opt, qw(all C=s@ help|h), # compact options: - qw(jobs|j=i quiet|q blocksize|b=s no-full|n fuller|F), + qw(jobs|j=i quiet|q blocksize|b=s no-full|n fuller|F cow!), ) or die $help; if ($opt->{help}) { print $help; exit 0 }; -- 2.47.3