Fix help text for --d on shell.php
authorBrion Vibber <brion@pobox.com>
Fri, 28 Apr 2017 01:22:31 +0000 (18:22 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 28 Apr 2017 01:22:31 +0000 (18:22 -0700)
1 is stderr, not 0

Change-Id: Iaee4ffd5767f8ae693e8ef19371ce38fe6bd1817

maintenance/shell.php

index 9f2306f..5df5b54 100644 (file)
@@ -49,8 +49,8 @@ class MediaWikiShell extends Maintenance {
                parent::__construct();
                $this->addOption( 'd',
                        'For back compatibility with eval.php. ' .
-                       '0 send debug to stderr. ' .
-                       'With 1 additionally initialize database with debugging ',
+                       '1 send debug to stderr. ' .
+                       'With 2 additionally initialize database with debugging ',
                        false, true
                );
        }