dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
737e862
)
Merge "Fix --memory-limit option to maintenance scripts"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Fri, 6 Apr 2018 22:12:03 +0000
(22:12 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Fri, 6 Apr 2018 22:12:03 +0000
(22:12 +0000)
maintenance/Maintenance.php
patch
|
blob
|
history
diff --git
a/maintenance/Maintenance.php
b/maintenance/Maintenance.php
index
4d0af5f
..
9685177
100644
(file)
--- a/
maintenance/Maintenance.php
+++ b/
maintenance/Maintenance.php
@@
-509,7
+509,9
@@
abstract class Maintenance {
$this->addOption(
'memory-limit',
'Set a specific memory limit for the script, '
- . '"max" for no limit or "default" to avoid changing it'
+ . '"max" for no limit or "default" to avoid changing it',
+ false,
+ true
);
$this->addOption( 'server', "The protocol and server name to use in URLs, e.g. " .
"http://en.wikipedia.org. This is sometimes necessary because " .