diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-04-03 08:38:04 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-04-03 08:38:04 +0400 |
commit | b226529a062aa67cd93f72a6f596c0d08c790421 (patch) | |
tree | 47a839d40faef50f04a9ae9c28aa3259d7211d50 /plugins | |
parent | bd6fcdef1fd7fe7c772b735a3526d64d100f4574 (diff) |
Tweak console commands descriptions
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/CoreConsole/Commands/CoreArchiver.php | 2 | ||||
-rw-r--r-- | plugins/CoreConsole/Commands/SyncUITestScreenshots.php | 4 | ||||
-rw-r--r-- | plugins/CoreUpdater/Commands/Update.php | 3 |
3 files changed, 5 insertions, 4 deletions
diff --git a/plugins/CoreConsole/Commands/CoreArchiver.php b/plugins/CoreConsole/Commands/CoreArchiver.php index fd7b566e23..eae8d80f51 100644 --- a/plugins/CoreConsole/Commands/CoreArchiver.php +++ b/plugins/CoreConsole/Commands/CoreArchiver.php @@ -34,7 +34,7 @@ class CoreArchiver extends ConsoleCommand static public function configureArchiveCommand(ConsoleCommand $command) { $command->setName('core:archive'); - $command->setDescription("Runs the CLI archiver. It usually runs as a cron and is a useful tool for general maintenance, and pre-process reports for a Fast dashboard rendering."); + $command->setDescription("Runs the CLI archiver. It is an important tool for general maintenance and to keep Piwik very fast."); $command->setHelp("* It is recommended to run the script with the option --piwik-domain=[piwik-server-url] only. Other options are not required. * This script should be executed every hour via crontab, or as a daemon. * You can also run it via http:// by specifying the Super User &token_auth=XYZ as a parameter ('Web Cron'), diff --git a/plugins/CoreConsole/Commands/SyncUITestScreenshots.php b/plugins/CoreConsole/Commands/SyncUITestScreenshots.php index 639b7d3db5..3deb5d72e1 100644 --- a/plugins/CoreConsole/Commands/SyncUITestScreenshots.php +++ b/plugins/CoreConsole/Commands/SyncUITestScreenshots.php @@ -22,8 +22,8 @@ class SyncUITestScreenshots extends ConsoleCommand protected function configure() { $this->setName('development:sync-ui-test-screenshots'); - $this->setDescription('This command is intended for Piwik core developers. It copies all processed screenshot ' - . 'tests on Travis to the expected screenshot directory.'); + $this->setDescription('For Piwik core devs. Copies screenshots ' + . 'from travis artifacts to tests/PHPUnit/UI/expected-ui-screenshots/'); $this->addArgument('buildnumber', InputArgument::REQUIRED, 'Travis build number you want to sync.'); $this->addArgument('screenshotsRegex', InputArgument::OPTIONAL, 'A regex to use when selecting screenshots to copy. If not supplied all screenshots are copied.', '.*'); diff --git a/plugins/CoreUpdater/Commands/Update.php b/plugins/CoreUpdater/Commands/Update.php index 226117df1e..0417140767 100644 --- a/plugins/CoreUpdater/Commands/Update.php +++ b/plugins/CoreUpdater/Commands/Update.php @@ -27,7 +27,8 @@ class Update extends ConsoleCommand protected function configure() { $this->setName('core:update'); - $this->setDescription('Triggers the upgrades for Piwik core and plugins. Useful after Piwik core files or some plugins were updated to latest files.'); + + $this->setDescription('Triggers upgrades. Use it after Piwik core or any plugin files have been updated.'); $this->addOption('dry-run', null, InputOption::VALUE_NONE, 'Only prints out the SQL requests that would be executed during the upgrade'); } |