Skip to content

Commit

Permalink
Use @handle-remote-commands in browse command.
Browse files Browse the repository at this point in the history
  • Loading branch information
weitzman committed Oct 7, 2016
1 parent 4127e01 commit f1ad5bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/Drush/CommandFiles/core/BrowseCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ class BrowseCommands {
* Display a link to a given path or open link in a browser.
*
* @command browse
* @todo Document new @handle-remote-commands and @bootstrap annotations.
*
* @param string|null $path Path to open. If omitted, the site front page will be opened.
* @option string $browser Specify a particular browser (defaults to operating system default). Use --no-browser to suppress opening a browser.
Expand All @@ -20,9 +19,8 @@ class BrowseCommands {
* Open a browser to the web site specified in a site alias.
* @usage drush browse --browser=firefox admin
* Open Firefox web browser to the path 'admin'.
* @todo not used AFAIK @bootstrap DRUSH_BOOTSTRAP_NONE
* @todo not used @handle-remote-commands true
* @complete \Drush\CommandFiles\core\BrowseCommands::complete
* @handle-remote-commands true
*/
public function browse($path = '', $options = ['browser' => NULL]) {
// Redispatch if called against a remote-host so a browser is started on the
Expand Down

0 comments on commit f1ad5bc

Please sign in to comment.