X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FUser.php;h=a9378a61e957e1ed043b2999c965cdd2981d76c4;hb=11de5be0ae6d28880b12cc4b1fd65c56924b4aad;hp=a135e6292de22da10ecf227cb729f459309d2ea2;hpb=b2ce9601da3d0b08f471eaa6d3eb34f7417ce73c;p=friendica.git diff --git a/src/Console/User.php b/src/Console/User.php index a135e6292d..a9378a61e9 100644 --- a/src/Console/User.php +++ b/src/Console/User.php @@ -59,7 +59,7 @@ console user - Modify user settings per console commands. Usage bin/console user password [] [-h|--help|-?] [-v] bin/console user add [ [ [ []]]] [-h|--help|-?] [-v] - bin/console user delete [] [-q] [-h|--help|-?] [-v] + bin/console user delete [] [-y] [-h|--help|-?] [-v] bin/console user allow [] [-h|--help|-?] [-v] bin/console user deny [] [-h|--help|-?] [-v] bin/console user block [] [-h|--help|-?] [-v] @@ -78,8 +78,8 @@ Description Options -h|--help|-? Show help information - -v Show more debug information. - -q Quiet mode (don't ask for a command). + -v Show more debug information + -y Non-interactive mode, assume "yes" as answer to the user deletion prompt HELP; return $help; } @@ -314,7 +314,7 @@ HELP; return true; } - if (!$this->getOption('q')) { + if (!$this->getOption('y')) { $this->out($this->l10n->t('Type "yes" to delete %s', $nick)); if (CliPrompt::prompt() !== 'yes') { throw new RuntimeException($this->l10n->t('Deletion aborted.')); @@ -409,7 +409,7 @@ HELP; case 'guid': $user = UserModel::getByGuid($param, $fields); break; - case 'email': + case 'mail': $user = UserModel::getByEmail($param, $fields); break; case 'nick':