Signed-off-by: Tony Asleson <tasle...@redhat.com>
---
 doc/lsmcli.bash |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/doc/lsmcli.bash b/doc/lsmcli.bash
index 2ddb316..19c98b5 100644
--- a/doc/lsmcli.bash
+++ b/doc/lsmcli.bash
@@ -52,7 +52,8 @@ _lsm()
               --force --wait --header --script "
     opts_cmds="list job-status capabilities plugin-info volume-create \
                 volume-delete, volume-resize volume-replicate \
-                volume-replicate-range volume-replicate-range-block-size"
+                volume-replicate-range volume-replicate-range-block-size \
+                volume-dependants volume-dependants-rm"
 
     list_args="--type"
     list_type_args="volumes pools fs snapshots exports nfs_client_auth \
@@ -73,6 +74,7 @@ _lsm()
                                 --dst-start --count --force" # Force ?
 
     volume_replication_range_bs="--sys"
+    volume_dependants="--vol"
 
     # Check if we have somthing present that we can help the user with
     case "${prev}" in
@@ -188,6 +190,11 @@ _lsm()
             COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) )
             return 0
             ;;
+        volume-dependants|volume-dependants-rm)
+            possible_args "${volume_dependants}"
+            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