Browse Source

Merge pull request #1993 from zvirusz/patch-2

In capistrano completion show also tasks without description
Robby Russell 11 years ago
parent
commit
a256f7a88e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/capistrano/_capistrano

+ 1 - 1
plugins/capistrano/_capistrano

@@ -4,7 +4,7 @@
 if [[ -f config/deploy.rb || -f Capfile ]]; then
   if [[ ! -f .cap_tasks~ || config/deploy.rb -nt .cap_tasks~ ]]; then
     echo "\nGenerating .cap_tasks~..." > /dev/stderr
-    cap --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
+    cap -v --tasks | grep '#' | cut -d " " -f 2 > .cap_tasks~
   fi
   compadd `cat .cap_tasks~`
 fi