summaryrefslogtreecommitdiff
path: root/maintenance/deleteOldRevisions.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/deleteOldRevisions.php')
-rw-r--r--maintenance/deleteOldRevisions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/deleteOldRevisions.php b/maintenance/deleteOldRevisions.php
index 8d676ab1..8454479b 100644
--- a/maintenance/deleteOldRevisions.php
+++ b/maintenance/deleteOldRevisions.php
@@ -16,12 +16,12 @@ echo( "Delete Old Revisions\n\n" );
if( @$options['help'] ) {
ShowUsage();
} else {
- DeleteOldRevisions( @$options['delete'] );
+ DeleteOldRevisions( @$options['delete'], $args );
}
function ShowUsage() {
echo( "Deletes non-current revisions from the database.\n\n" );
- echo( "Usage: php deleteOldRevisions.php [--delete|--help]\n\n" );
+ echo( "Usage: php deleteOldRevisions.php [--delete|--help] [<page_id> ...]\n\n" );
echo( "delete : Performs the deletion\n" );
echo( " help : Show this usage information\n" );
}