Commit 497396dd authored by ergonlogic's avatar ergonlogic

Further fixes for strict options checking in Drush 6.

parent d90894e6
......@@ -131,6 +131,8 @@ function provision_drush_command() {
$items['provision-backup'] = array(
'optional arguments' => array('backup-file' => dt('The file to save the backup to. This will be a gzipped tarball.')),
'description' => dt('Generate a back up for the site.'),
'options' => array(
'profile' => dt('The Drupal profile to use.')),
'examples' => array(
'drush @site provision-backup' => 'Back up the site as defined by the site Drush alias generated with provision-save.',
),
......@@ -225,6 +227,8 @@ function provision_drush_command() {
'arguments' => array(
'@new_site' => dt('The Drush alias of the new site as generated by provision-save.'),
'@platform_name' => dt('The Drush alias of the platform to clone the site onto.')),
'options' => array(
'profile' => dt('The Drupal profile to use.')),
'examples' => array(
'drush @site provision-clone @new_site @platform_name' => 'Clone the original site to the new site on a platform',
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment