Skip to content

Commit 31a28ed

Browse files
committed
Hide site-reset command as it is removed in Drush 7 and now deprecated in Drush6. Use site-set without an argument.
1 parent 9bc7b65 commit 31a28ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

commands/core/sitealias.drush.inc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ function sitealias_drush_command() {
6262
'drush site-set -' => 'Go back to the previously-set site (like `cd -`).',
6363
),
6464
);
65+
// @deprecated and hidden as of 6.0.1. Use site-set without an argument.
6566
$items['site-reset'] = array(
6667
'description' => 'Reset a persistently set site.',
6768
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
6869
'handle-remote-commands' => TRUE,
6970
'aliases' => array('unuse'),
71+
'hidden' => TRUE,
7072
);
7173
return $items;
7274
}

0 commit comments

Comments
 (0)