X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=maintenance%2FresetUserEmail.php;h=3ba5c6b382037ce24843149f6bce3a3454350632;hb=13832025a46df3e0edd658dfb756159c2c5ac722;hp=771d19bc7b05f7e3de9979113b139daad83a9023;hpb=07bb67286b87ee8fbe0325264b63d11be48de765;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(); }