[sheepdog] [PATCH 9/9] update bash_completion file
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Mon Sep 17 01:00:02 CEST 2012
Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
---
script/bash_completion_collie | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/script/bash_completion_collie b/script/bash_completion_collie
index 20701e2..a368184 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 snapshot cleanup"
+ opts="info format shutdown recover snapshot"
case "$1" in
info)
@@ -163,8 +163,6 @@ _collie_cluster()
;;
snapshot)
;;
- cleanup)
- ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
@@ -179,7 +177,7 @@ _collie_cluster()
_collie_node()
{
local opts
- opts="info list recovery"
+ opts="info list recovery kill cache"
case "$1" in
info)
@@ -188,6 +186,10 @@ _collie_node()
;;
recovery)
;;
+ kill)
+ ;;
+ cache)
+ ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
@@ -203,7 +205,8 @@ _collie_vdi()
{
local opts
opts="create snapshot clone resize read write \
-list tree graph delete object setattr getattr track check"
+list tree graph delete object setattr getattr track check \
+rollback flush backup restore"
case "$1" in
create)
@@ -243,6 +246,14 @@ list tree graph delete object setattr getattr track check"
;;
check)
;;
+ rollback)
+ ;;
+ flush)
+ ;;
+ backup)
+ ;;
+ restore)
+ ;;
"")
COMPREPLY=($( compgen \
-W "${opts}" \
--
1.7.2.5
More information about the sheepdog
mailing list