mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 16:24:04 +02:00
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…
x
Reference in New Issue
Block a user