Make runJobs.php treat --json value as case insensitive
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 24 Oct 2017 22:42:30 +0000 (15:42 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 25 Oct 2017 07:41:22 +0000 (07:41 +0000)
The docs mentioned "JSON", which did not actually work.

Change-Id: Ie9802551d05f7d80d1db0fd316e36f4b35bbc521

maintenance/runJobs.php

index 929b5c9..af2a318 100644 (file)
@@ -42,7 +42,7 @@ class RunJobs extends Maintenance {
                $this->addOption( 'type', 'Type of job to run', false, true );
                $this->addOption( 'procs', 'Number of processes to use', false, true );
                $this->addOption( 'nothrottle', 'Ignore job throttling configuration', false, false );
-               $this->addOption( 'result', 'Set to JSON to print only a JSON response', false, true );
+               $this->addOption( 'result', 'Set to "json" to print only a JSON response', false, true );
                $this->addOption( 'wait', 'Wait for new jobs instead of exiting', false, false );
        }