CLI/ModuleCommand: helpful message with no module
'icingacli module list' gave "There is no module installed" instead of "There is no enabled module". Fixed this, the former message is still shown when doing 'icingacli module list installed'.
This commit is contained in:
parent
d10b4c5e93
commit
5b24ed1a15
|
@ -54,7 +54,7 @@ class ModuleCommand extends Command
|
|||
$modules = $this->modules->listInstalledModules();
|
||||
}
|
||||
if (empty($modules)) {
|
||||
echo "There are no modules installed\n";
|
||||
echo "There are no $type modules\n";
|
||||
return;
|
||||
}
|
||||
if ($this->isVerbose) {
|
||||
|
|
Loading…
Reference in New Issue