From: Aaron Schulz Date: Tue, 24 Oct 2017 22:42:30 +0000 (-0700) Subject: Make runJobs.php treat --json value as case insensitive X-Git-Tag: 1.31.0-rc.0~1676^2 X-Git-Url: http://git.cyclocoop.org//%22%22._DIR_PLUGIN_FULLCALENDAR.%22prive/themes/spip/images/event_edit.png/%22?a=commitdiff_plain;h=25ae9afb9b8de264e878d2aa183119a3d2a00a5f;p=lhc%2Fweb%2Fwiklou.git Make runJobs.php treat --json value as case insensitive The docs mentioned "JSON", which did not actually work. Change-Id: Ie9802551d05f7d80d1db0fd316e36f4b35bbc521 --- diff --git a/maintenance/runJobs.php b/maintenance/runJobs.php index 929b5c976c..af2a318bac 100644 --- a/maintenance/runJobs.php +++ b/maintenance/runJobs.php @@ -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 ); }