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:
Thomas Gelf 2014-05-28 11:45:58 +00:00
parent d10b4c5e93
commit 5b24ed1a15
1 changed files with 1 additions and 1 deletions

View File

@ -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) {