Skip to content

Commit 633eac4

Browse files
committed
backport docs enhancements to site-set.
1 parent 31a28ed commit 633eac4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

commands/core/sitealias.drush.inc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,14 @@ function sitealias_drush_command() {
5353
'bootstrap' => DRUSH_BOOTSTRAP_DRUSH,
5454
'handle-remote-commands' => TRUE,
5555
'arguments' => array(
56-
'site' => 'Site specification to use, or "-" for previous site.',
56+
'site' => 'Site specification to use, or "-" for previous site. Omit this argument to "unset"',
5757
),
5858
'aliases' => array('use'),
5959
'examples' => array(
6060
'drush site-set @dev' => 'Set the current session to use the @dev alias.',
6161
'drush site-set user@server/path/to/drupal#sitename' => 'Set the current session to use a site specification.',
6262
'drush site-set -' => 'Go back to the previously-set site (like `cd -`).',
63+
'drush site-set' => 'Without an argument, any existing site becomes unset.',
6364
),
6465
);
6566
// @deprecated and hidden as of 6.0.1. Use site-set without an argument.

0 commit comments

Comments
 (0)