Signed-off-by: Tony Asleson <tasle...@redhat.com> --- doc/lsmcli.bash | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/doc/lsmcli.bash b/doc/lsmcli.bash index b75364b..22eb86f 100644 --- a/doc/lsmcli.bash +++ b/doc/lsmcli.bash @@ -56,7 +56,7 @@ _lsm() volume-dependants volume-dependants-rm volume-access-group \ volume-mask volume-unmask access-group-create \ access-group-delete access-group-add access-group-remove \ - volume-enable volume-disable" + volume-enable volume-disable iscsi-chap" list_args="--type" list_type_args="volumes pools fs snapshots exports nfs_client_auth \ @@ -89,6 +89,8 @@ _lsm() volume_enable_disable_args="--vol" + iscsi_chap_args="--in-user --in-pass --out-user --out-pass" + # Check if we have somthing present that we can help the user with case "${prev}" in --sys) @@ -157,7 +159,8 @@ _lsm() COMPREPLY=( $(compgen -W "${list_type_args}" -- ${cur}) ) return 0 ;; - --size|--count|--src-start|--dst-start|--name) + --size|--count|--src-start|--dst-start|--name|--in-user|--in-pass|\ + --out-user|--out-pass) # These we cannot lookup, so don't offer any values COMPREPLY=( $(compgen -W "" -- ${cur}) ) return 0 @@ -246,6 +249,11 @@ _lsm() COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) ) return 0 ;; + iscsi-chap) + possible_args "${iscsi_chap_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