dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "RCLFilters: make target and to/from parameters sticky again"
[lhc/web/wiklou.git]
/
maintenance
/
userOptions.php
diff --git
a/maintenance/userOptions.php
b/maintenance/userOptions.php
index
7cf16b6
..
5692f11
100644
(file)
--- a/
maintenance/userOptions.php
+++ b/
maintenance/userOptions.php
@@
-102,7
+102,7
@@
The new option is NOT validated.' );
// Get the options and update stats
if ( $option ) {
if ( !array_key_exists( $option, $defaultOptions ) ) {
// Get the options and update stats
if ( $option ) {
if ( !array_key_exists( $option, $defaultOptions ) ) {
- $this->
error( "Invalid user option. Use --list to see valid choices\n", 1
);
+ $this->
fatalError( "Invalid user option. Use --list to see valid choices\n"
);
}
$userValue = $user->getOption( $option );
}
$userValue = $user->getOption( $option );