From ef954e7947609782c3f4e1c7df43e2640ea1cf5d Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Tue, 21 Jun 2011 21:14:26 +0000 Subject: [PATCH] Followup r90020: use startid for consistency, and document endid --- maintenance/storage/compressOld.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maintenance/storage/compressOld.php b/maintenance/storage/compressOld.php index 52e7cd8548..da82d93bd8 100644 --- a/maintenance/storage/compressOld.php +++ b/maintenance/storage/compressOld.php @@ -17,7 +17,8 @@ * -c maximum number of revisions in a concat chunk * -b earliest date to check for uncompressed revisions * -e latest revision date to compress - * -s the old_id to start from + * -s the old_id to start from + * -n the old_id to stop at * --extdb store specified revisions in an external cluster (untested) * * This program is free software; you can redistribute it and/or modify @@ -55,7 +56,7 @@ class CompressOld extends Maintenance { $this->addOption( 'chunksize', 'Maximum number of revisions in a concat chunk', false, true, 'c' ); $this->addOption( 'begin-date', 'Earliest date to check for uncompressed revisions', false, true, 'b' ); $this->addOption( 'end-date', 'Latest revision date to compress', false, true, 'e' ); - $this->addOption( 'start-id', 'The old_id to start from', false, true, 's'); + $this->addOption( 'startid', 'The old_id to start from', false, true, 's' ); $this->addOption( 'extdb', 'Store specified revisions in an external cluster (untested)', false, true ); $this->addOption( 'endid', 'Stop at this old_id', false, true, 'n' ); } -- 2.20.1