Skip to content
Snippets Groups Projects
Commit 497396dd authored by Christopher Gervais's avatar Christopher Gervais
Browse files

Further fixes for strict options checking in Drush 6.

parent d90894e6
Branches
Tags
No related merge requests found
......@@ -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',
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment