Signed-off-by: MORITA Kazutaka <[email protected]>
---
script/bash_completion_collie | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/script/bash_completion_collie b/script/bash_completion_collie
index e96471c..20701e2 100644
--- a/script/bash_completion_collie
+++ b/script/bash_completion_collie
@@ -148,7 +148,7 @@ _collie_vdi_setattr()
_collie_cluster()
{
local opts
- opts="info format shutdown recover"
+ opts="info format shutdown recover snapshot cleanup"
case "$1" in
info)
@@ -161,6 +161,10 @@ _collie_cluster()
recover)
_collie_cluster_recover
;;
+ snapshot)
+ ;;
+ cleanup)
+ ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
@@ -175,13 +179,15 @@ _collie_cluster()
_collie_node()
{
local opts
- opts="info list"
+ opts="info list recovery"
case "$1" in
info)
;;
list)
;;
+ recovery)
+ ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
@@ -197,7 +203,7 @@ _collie_vdi()
{
local opts
opts="create snapshot clone resize read write \
-list tree graph delete object setattr getattr"
+list tree graph delete object setattr getattr track check"
case "$1" in
create)
@@ -233,6 +239,10 @@ list tree graph delete object setattr getattr"
;;
getattr)
;;
+ track)
+ ;;
+ check)
+ ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
--
1.7.9.5
--
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog