X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FUser.php;h=bbe65d87ce8eca1aa3380e251ee0f012f0e7ec19;hb=24a82110fd45a8422efee0677b7acc214aa66e9a;hp=a135e6292de22da10ecf227cb729f459309d2ea2;hpb=d35dc64660856565aeb8ee52a5c85ecbcc6dd0be;p=friendica.git diff --git a/src/Console/User.php b/src/Console/User.php index a135e6292d..bbe65d87ce 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.'));