Skip to content

Commit

Permalink
Fix #2906. Remove @complete annotations
Browse files Browse the repository at this point in the history
Bash completion will be supported again one day.
  • Loading branch information
weitzman committed Sep 25, 2017
1 parent 094e93e commit ba6cc48
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion src/Commands/config/ConfigPullCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ConfigPullCommands extends DrushCommands
* @usage drush config-pull @prod @self --label=vcs
* Export config from @prod and transfer to the 'vcs' config directory of current site.
* @aliases cpull
* @complete \Drush\Commands\CompletionCommands::completeSiteAliases
* @topics docs-aliases,docs-config-exporting
*
*/
Expand Down
1 change: 0 additions & 1 deletion src/Commands/core/CacheCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public function get($cid, $bin = 'default', $options = ['format' => 'json'])
* @hidden-options cache-clear
* @aliases cc
* @bootstrap max
* @complete \Drush\Commands\core\CacheCommands::complete
* @notify Caches have been cleared.
*/
public function clear($type, $options = ['cache-clear' => true])
Expand Down
1 change: 0 additions & 1 deletion src/Commands/core/EditCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ class EditCommands extends DrushCommands
* @usage drush core-config --choice=2
* Edit the second file in the choice list.
* @aliases conf, config
* @complete \Drush\Commands\core\EditCommands::complete
*/
public function edit($filter = null)
{
Expand Down
1 change: 0 additions & 1 deletion src/Commands/core/RsyncCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public function __construct()
* Customize how rsync connects with remote host via SSH. rsync options like --delete are placed after a --.
* @aliases rsync
* @topics docs-aliases
* @complete \Drush\Commands\CompletionCommands::completeSiteAliases
*/
public function rsync($source, $destination, array $extra, $options = ['exclude-paths' => null, 'include-paths' => null, 'mode' => 'akz'])
{
Expand Down
1 change: 0 additions & 1 deletion src/Commands/core/SiteCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ class SiteCommands extends DrushCommands implements SiteAliasManagerAwareInterfa
* @usage drush site-set
* Without an argument, any existing site becomes unset.
* @aliases use
* @complete \Drush\Commands\CompletionCommands::completeSiteAliases
*/
public function siteSet($site = '@none', $options = ['a' =>'b'])
{
Expand Down
2 changes: 0 additions & 2 deletions src/Drupal/Commands/core/UserCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ public function unblock($names)
* @param string $role The name of the role to add
* @param string $names A comma delimited list user names.
* @aliases urol
* @complete \Drush\Commands\core\UserCommands::complete
* @usage drush user-add-role "power user" user3
* Add the "power user" role to user3
*/
Expand Down Expand Up @@ -188,7 +187,6 @@ public function addRole($role, $names)
* @param string $role The name of the role to add
* @param string $names A comma delimited list of user names.
* @aliases urrol
* @complete \Drush\Commands\core\UserCommands::complete
* @usage drush user-remove-role "power user" user3
* Remove the "power user" role from user3
*/
Expand Down
3 changes: 0 additions & 3 deletions src/Drupal/Commands/core/ViewsCommands.php
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,6 @@ public function vlist($options = ['name' => '', 'tags' => '', 'status' => null,
* Show a count of my_view:page_1 where the first contextual filter value is 3.
* @usage drush views-execute my_view page_1 3,foo
* Show the rendered HTML of my_view:page_1 where the first two contextual filter values are 3 and 'foo' respectively.
* @complete \Drush\Commands\core\ViewsCommands::complete
* @validate-entity-load view view_name
* @aliases vex
* @validate-module-enabled views
Expand Down Expand Up @@ -304,7 +303,6 @@ public function analyze()
* @validate-entity-load view views
* @usage drush ven frontpage,taxonomy_term
* Enable the frontpage and taxonomy_term views.
* @complete \Drush\Commands\core\ViewsCommands::complete
* @aliases ven
*/
public function enable($views)
Expand All @@ -327,7 +325,6 @@ public function enable($views)
* @param string $views A comma delimited list of view names.
* @usage drush vdis frontpage taxonomy_term
* Disable the frontpage and taxonomy_term views.
* @complete \Drush\Commands\core\ViewsCommands::complete
* @aliases vdis
*/
public function disable($views)
Expand Down

0 comments on commit ba6cc48

Please sign in to comment.