---
 doc/lsmcli.bash |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/doc/lsmcli.bash b/doc/lsmcli.bash
index 07acb71..b75364b 100644
--- a/doc/lsmcli.bash
+++ b/doc/lsmcli.bash
@@ -55,7 +55,8 @@ _lsm()
                 volume-replicate-range volume-replicate-range-block-size \
                 volume-dependants volume-dependants-rm volume-access-group \
                 volume-mask volume-unmask access-group-create \
-                access-group-delete access-group-add access-group-remove"
+                access-group-delete access-group-add access-group-remove \
+                volume-enable volume-disable"
 
     list_args="--type"
     list_type_args="volumes pools fs snapshots exports nfs_client_auth \
@@ -86,6 +87,8 @@ _lsm()
 
     access_group_add_remove_args="--ag --init"
 
+    volume_enable_disable_args="--vol"
+
     # Check if we have somthing present that we can help the user with
     case "${prev}" in
         --sys)
@@ -238,6 +241,11 @@ _lsm()
             COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
             return 0
             ;;
+        volume-enable|volume-disable)
+            possible_args "${volume_enable_disable_args}"
+            COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
+            return 0
+            ;;
         capabilities)
             possible_args "${cap_args}"
             COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
-- 
1.7.1


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Libstoragemgmt-devel mailing list
Libstoragemgmt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libstoragemgmt-devel

Reply via email to