From: Chad Horohoe Date: Tue, 21 Jun 2011 21:14:26 +0000 (+0000) Subject: Followup r90020: use startid for consistency, and document endid X-Git-Tag: 1.31.0-rc.0~29372 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=ef954e7947609782c3f4e1c7df43e2640ea1cf5d;p=lhc%2Fweb%2Fwiklou.git Followup r90020: use startid for consistency, and document endid --- 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' ); }