Resolve error with showJobs.php --mwdebug option. Previously, it displayed an error if not followed by "=1".
This was resolved by changing
$this->addOption( 'mwdebug', 'Enable built-in MediaWiki development settings', false, true );
to
$this->addOption( 'mwdebug', 'Enable built-in MediaWiki development settings', false, false );
Bug: T233257
Change-Id: I322fa539a302c2726fffd2420f7f56aec476b32b
"server name detection may fail in command line scripts.", false, true );
$this->addOption( 'profiler', 'Profiler output format (usually "text")', false, true );
// This is named --mwdebug, because --debug would conflict in the phpunit.php CLI script.
- $this->addOption( 'mwdebug', 'Enable built-in MediaWiki development settings', false, true );
+ $this->addOption( 'mwdebug', 'Enable built-in MediaWiki development settings', false, false );
# Save generic options to display them separately in help
$this->mGenericParameters = $this->mParams;