diff options
author | Eric Wong <e@yhbt.net> | 2020-08-12 09:17:15 +0000 |
---|---|---|
committer | Eric Wong <e@yhbt.net> | 2020-08-13 02:22:55 +0000 |
commit | a3aebf796f9b06a04ebb6156240b74b6cc53fdb8 (patch) | |
tree | ea0e66a8b83b452e1ad4d7dbde99de4f9252a305 /script/public-inbox-xcpdb | |
parent | 575e948ed8880326fb25ce8fe74f7c95881186ca (diff) | |
download | public-inbox-a3aebf796f9b06a04ebb6156240b74b6cc53fdb8.tar.gz |
This was omitted in 8b1950055d51d436 :x Fixes: 8b1950055d51d436 ("index+xcpdb: rename `--no-sync' to `--no-fsync'")
Diffstat (limited to 'script/public-inbox-xcpdb')
-rwxr-xr-x | script/public-inbox-xcpdb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/script/public-inbox-xcpdb b/script/public-inbox-xcpdb index fcd96148..2c91598c 100755 --- a/script/public-inbox-xcpdb +++ b/script/public-inbox-xcpdb @@ -8,8 +8,9 @@ use PublicInbox::Xapcmd; use PublicInbox::Admin; PublicInbox::Admin::require_or_die('-search'); my $usage = "Usage: public-inbox-xcpdb [--compact] INBOX_DIR\n"; -my $opt = { sync => 1 }; -my @opt = (qw(sync! compact reshard|R=i), @PublicInbox::Xapcmd::COMPACT_OPT); +my $opt = { fsync => 1 }; +my @opt = (qw(fsync|sync! compact reshard|R=i), + @PublicInbox::Xapcmd::COMPACT_OPT); GetOptions($opt, @opt) or die "bad command-line args\n$usage"; my @ibxs = PublicInbox::Admin::resolve_inboxes(\@ARGV) or die $usage; foreach (@ibxs) { |