diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-30 18:42:11 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-30 18:42:11 +0400 |
commit | c784f16042373e41c9e760e87092dde912b66227 (patch) | |
tree | 93f3a2c83cc7e845eda8562b43348586ea30e086 /plugins/ExampleCommand | |
parent | 3dbf24168a948672356ff519778e2e42406edbb8 (diff) |
the command class should be camelcase but the command name should separate words by a dash
Diffstat (limited to 'plugins/ExampleCommand')
-rw-r--r-- | plugins/ExampleCommand/Commands/HelloWorld.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ExampleCommand/Commands/HelloWorld.php b/plugins/ExampleCommand/Commands/HelloWorld.php index cdaee9f290..d8dc781e3f 100644 --- a/plugins/ExampleCommand/Commands/HelloWorld.php +++ b/plugins/ExampleCommand/Commands/HelloWorld.php @@ -31,7 +31,7 @@ class HelloWorld extends ConsoleCommand protected function configure() { $this->setName('examplecommand:helloworld'); - $this->setDescription('ExampleCommand'); + $this->setDescription('ExampleCommandDescription'); $this->addOption('name', null, InputOption::VALUE_REQUIRED, 'Your name:'); } |