Followup r90020: use startid for consistency, and document endid
authorChad Horohoe <demon@users.mediawiki.org>
Tue, 21 Jun 2011 21:14:26 +0000 (21:14 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Tue, 21 Jun 2011 21:14:26 +0000 (21:14 +0000)
maintenance/storage/compressOld.php

index 52e7cd8..da82d93 100644 (file)
@@ -17,7 +17,8 @@
  *  -c <chunk-size>     maximum number of revisions in a concat chunk
  *  -b <begin-date>     earliest date to check for uncompressed revisions
  *  -e <end-date>       latest revision date to compress
- *  -s <start-id>       the old_id to start from
+ *  -s <startid>        the old_id to start from
+ *  -n <endid>          the old_id to stop at
  *  --extdb <cluster>   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' );
        }