diff --git a/application/clicommands/ModuleCommand.php b/application/clicommands/ModuleCommand.php index 41bc7c377..fc4216743 100644 --- a/application/clicommands/ModuleCommand.php +++ b/application/clicommands/ModuleCommand.php @@ -90,7 +90,7 @@ class ModuleCommand extends Command /** * Enable a given module * - * Usage: icingacli module enable [--force] + * Usage: icingacli module enable */ public function enableAction() { @@ -98,13 +98,11 @@ class ModuleCommand extends Command $module = $this->params->shift('module'); } - $force = $this->params->shift('force', false); - if (! $module || $this->hasRemainingParams()) { return $this->showUsage(); } - $this->modules->enableModule($module, $force); + $this->modules->enableModule($module, true); } /**