completion/travis.sh in travis-1.5.1 vs completion/travis.sh in travis-1.5.2
- old
+ new
@@ -4,10 +4,11 @@
COMPREPLY=()
local completions
if [ "$COMP_CWORD" -eq 1 ]; then
completions="accounts
branches
+cancel
console
disable
enable
encrypt
endpoint
@@ -71,10 +72,32 @@
--debug
--adapter
--repo
-r"
;;
+cancel)
+completions="--help
+-h
+--interactive
+--no-interactive
+-i
+--explode
+--no-explode
+-E
+--skip-version-check
+--api-endpoint
+-e
+--pro
+--org
+--staging
+--token
+-t
+--debug
+--adapter
+--repo
+-r"
+;;
console)
completions="--help
-h
--interactive
--no-interactive
@@ -186,15 +209,18 @@
--org
--staging
--token
-t
--debug
---adapter"
+--adapter
+--drop-default
+--set-default"
;;
help)
completions="accounts
branches
+cancel
console
disable
enable
encrypt
endpoint
@@ -477,10 +503,11 @@
nodejitsu
sauce_connect
sauce_labs
sauce
cloudcontrol
+cloudfoundry
--help
-h
--interactive
--no-interactive
-i
@@ -665,10 +692,11 @@
local words completions
read -cA words
if [ "${#words}" -eq 2 ]; then
completions="accounts
branches
+cancel
console
disable
enable
encrypt
endpoint
@@ -732,10 +760,32 @@
--debug
--adapter
--repo
-r"
;;
+cancel)
+completions="--help
+-h
+--interactive
+--no-interactive
+-i
+--explode
+--no-explode
+-E
+--skip-version-check
+--api-endpoint
+-e
+--pro
+--org
+--staging
+--token
+-t
+--debug
+--adapter
+--repo
+-r"
+;;
console)
completions="--help
-h
--interactive
--no-interactive
@@ -847,15 +897,18 @@
--org
--staging
--token
-t
--debug
---adapter"
+--adapter
+--drop-default
+--set-default"
;;
help)
completions="accounts
branches
+cancel
console
disable
enable
encrypt
endpoint
@@ -1138,9 +1191,10 @@
nodejitsu
sauce_connect
sauce_labs
sauce
cloudcontrol
+cloudfoundry
--help
-h
--interactive
--no-interactive
-i