diff options
author | mattab <matthieu.aubry@gmail.com> | 2015-06-19 06:05:01 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2015-06-19 06:05:51 +0300 |
commit | 64ecb604b1097250b3a148bcb529c2dd2052475a (patch) | |
tree | f110be0c06cee973321216be4f6535f8531316dc | |
parent | 7ec988681eb83c9577f5f8eaf0d97e1dc524f475 (diff) |
Console command parameter: make text consistent
-rw-r--r-- | plugins/CoreAdminHome/Commands/DeleteLogsData.php | 2 | ||||
-rw-r--r-- | plugins/CoreConsole/Commands/CoreArchiver.php | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins/CoreAdminHome/Commands/DeleteLogsData.php b/plugins/CoreAdminHome/Commands/DeleteLogsData.php index 0860a2c910..df4141edbb 100644 --- a/plugins/CoreAdminHome/Commands/DeleteLogsData.php +++ b/plugins/CoreAdminHome/Commands/DeleteLogsData.php @@ -56,7 +56,7 @@ class DeleteLogsData extends ConsoleCommand protected function configure() { $this->setName('core:delete-logs-data'); - $this->setDescription('Delete data from one of the log tables: ' . implode(', ', self::$logTables) . '.'); + $this->setDescription('Delete data from the user log tables: ' . implode(', ', self::$logTables) . '.'); $this->addOption('dates', null, InputOption::VALUE_REQUIRED, 'Delete log data with a date within this date range. Eg, 2012-01-01,2013-01-01'); $this->addOption('idsite', null, InputOption::VALUE_OPTIONAL, 'Delete log data belonging to the site with this ID. Comma separated list of website id. Eg, 1, 2, 3, etc. By default log data from all sites is purged.'); diff --git a/plugins/CoreConsole/Commands/CoreArchiver.php b/plugins/CoreConsole/Commands/CoreArchiver.php index fcc15fdba5..37abaa0933 100644 --- a/plugins/CoreConsole/Commands/CoreArchiver.php +++ b/plugins/CoreConsole/Commands/CoreArchiver.php @@ -91,6 +91,8 @@ class CoreArchiver extends ConsoleCommand . "specified, defaults to " . CronArchive::SECONDS_DELAY_BETWEEN_PERIOD_ARCHIVES . "."); $command->addOption('skip-idsites', null, InputOption::VALUE_OPTIONAL, 'If specified, archiving will be skipped for these websites (in case these website ids would have been archived).'); + $command->addOption('skip-all-segments', null, InputOption::VALUE_NONE, + 'If specified, all segments will be skipped during archiving.'); $command->addOption('force-idsites', null, InputOption::VALUE_OPTIONAL, 'If specified, archiving will be processed only for these Sites Ids (comma separated)'); $command->addOption('force-periods', null, InputOption::VALUE_OPTIONAL, @@ -100,11 +102,9 @@ class CoreArchiver extends ConsoleCommand $command->addOption('force-date-range', null, InputOption::VALUE_OPTIONAL, "If specified, archiving will be processed only for periods included in this date range. Format: YYYY-MM-DD,YYYY-MM-DD"); $command->addOption('force-idsegments', null, InputOption::VALUE_REQUIRED, - 'If specified, only these segments will be processed (if the segment should be applied to a site in the ' - . "first place). Specify stored segment IDs, not the segments themselves, eg, 1,2,3. Note: if identical " - . "segments exist w/ different IDs, they will both be skipped, even if you only supply one ID."); - $command->addOption('skip-all-segments', null, InputOption::VALUE_NONE, - 'If specified, all segments will be skipped during archiving.'); + 'If specified, only these segments will be processed (if the segment should be applied to a site in the first place).' + . "\nSpecify stored segment IDs, not the segments themselves, eg, 1,2,3. " + . "\nNote: if identical segments exist w/ different IDs, they will both be skipped, even if you only supply one ID."); $command->addOption('concurrent-requests-per-website', null, InputOption::VALUE_OPTIONAL, "When processing a website and its segments, number of requests to process in parallel", CronArchive::MAX_CONCURRENT_API_REQUESTS); $command->addOption('disable-scheduled-tasks', null, InputOption::VALUE_NONE, |