X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FresetUserEmail.php;h=3ba5c6b382037ce24843149f6bce3a3454350632;hb=a3942e029b12d5bcfb1be9c6ae0213899cfad257;hp=771d19bc7b05f7e3de9979113b139daad83a9023;hpb=fbc9e214e7c6f687e7dc3a3178e60f4164ed9ad6;p=lhc%2Fweb%2Fwiklou.git diff --git a/maintenance/resetUserEmail.php b/maintenance/resetUserEmail.php index 771d19bc7b..3ba5c6b382 100644 --- a/maintenance/resetUserEmail.php +++ b/maintenance/resetUserEmail.php @@ -32,10 +32,10 @@ require_once __DIR__ . '/Maintenance.php'; class ResetUserEmail extends Maintenance { public function __construct() { $this->addDescription( "Resets a user's email" ); - $this->addArg( 'user', 'Username or user ID, if starts with #', true ); + $this->addArg( 'user', 'Username or user ID, if starts with #' ); $this->addArg( 'email', 'Email to assign' ); - $this->addOption( 'no-reset-password', 'Don\'t reset the user\'s password', false, false ); + $this->addOption( 'no-reset-password', 'Don\'t reset the user\'s password' ); parent::__construct(); }