X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=maintenance%2FMaintenance.php;h=f741cd2653f340826cf84eaddd334ecf5d48186e;hp=68329aa5a60e8bc82f39ac5220906a95f7f6f567;hb=7afced64454ad30d688540f7626448ac2faefebb;hpb=3b3b13357184e6afd8b39ce5f8515c53a1179acb diff --git a/maintenance/Maintenance.php b/maintenance/Maintenance.php index 68329aa5a6..f741cd2653 100644 --- a/maintenance/Maintenance.php +++ b/maintenance/Maintenance.php @@ -20,7 +20,7 @@ * @defgroup Maintenance Maintenance */ -define( MW_ENTRY_POINT, 'cli' ); +define( 'MW_ENTRY_POINT', 'cli' ); // Bail on old versions of PHP, or if composer has not been run yet to install // dependencies. @@ -587,7 +587,7 @@ abstract class Maintenance { "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;