Set "has value" flag correctly for result parameter
authorAaron Schulz <aschulz@wikimedia.org>
Tue, 29 Jul 2014 00:38:56 +0000 (17:38 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 29 Jul 2014 00:38:56 +0000 (17:38 -0700)
Change-Id: I97eeef620ddfdda6f09abbfdf0388146d4d02e36

maintenance/runJobs.php

index c757802..40605ce 100644 (file)
@@ -37,7 +37,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, false );
+               $this->addOption( 'result', 'Set to JSON to print only a JSON response', false, true );
        }
 
        public function memoryLimit() {