From 861252b1e7ec65ac9b96ba2ac3d4e8f550102ec3 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 30 Dec 2014 14:59:23 +0100 Subject: [PATCH] setup: Rename createDirectory to diretory 'icingacli setup config directory' does not suffer from camel case notation and explains pretty much what it does. --- .../setup/application/clicommands/ConfigCommand.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/setup/application/clicommands/ConfigCommand.php b/modules/setup/application/clicommands/ConfigCommand.php index d26dfdd80..a2d98b0fe 100644 --- a/modules/setup/application/clicommands/ConfigCommand.php +++ b/modules/setup/application/clicommands/ConfigCommand.php @@ -12,14 +12,14 @@ use Icinga\Module\Setup\Webserver; class ConfigCommand extends Command { /** - * Create the configuration directory + * Create Icinga Web 2's configuration directory * * This command creates the configuration directory for Icinga Web 2. The `group' argument * is mandatory and should be the groupname of the user your web server is running as. * * USAGE: * - * icingacli setup config createDirectory [options] + * icingacli setup config directory [options] * * OPTIONS: * @@ -28,11 +28,11 @@ class ConfigCommand extends Command * * EXAMPLES: * - * icingacli setup config createDirectory apache - * icingacli setup config createDirectory apache --mode 2775 - * icingacli setup config createDirectory apache --path /some/path + * icingacli setup config directory apache + * icingacli setup config directory apache --mode 2775 + * icingacli setup config directory apache --path /some/path */ - public function createDirectoryAction() + public function directoryAction() { $group = $this->params->getStandalone(); if ($group === null) {