Cli: Do not shift --verbose away, commands may still require it

This commit is contained in:
Johannes Meyer 2016-01-19 15:31:05 +01:00
parent 37dc601505
commit 790d2a3949
1 changed files with 2 additions and 1 deletions

View File

@ -77,7 +77,8 @@ class Cli extends ApplicationBootstrap
$config->application = 'icingacli';
}
if ($this->params->shift('verbose', false)) {
// TODO: Use shift() instead once Command::$isVerbose has been dropped
if ($this->params->get('verbose', false)) {
$config->level = Logger::DEBUG;
}