Cli: Do not shift --verbose away, commands may still require it
This commit is contained in:
parent
37dc601505
commit
790d2a3949
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue