Should --force be available with tab completion? 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 478420a..902649b 100644 --- a/doc/lsmcli.bash +++ b/doc/lsmcli.bash @@ -50,7 +50,8 @@ _lsm() opts_short="-b -v -u -P -H -t -e -f -w -b" opts_long=" --help --version --uri --prompt --human --terse --enum \ --force --wait --header --script " - opts_cmds="list job-status capabilities plugin-info volume-create" + opts_cmds="list job-status capabilities plugin-info volume-create \ + volume-delete" list_args="--type" list_type_args="volumes pools fs snapshots exports nfs_client_auth \ @@ -60,6 +61,7 @@ _lsm() cap_args="--sys" volume_create_args="--name --size --pool" + volume_delete_args="--vol --force" # Should force be here, to easy to tab through?" # Check if we have somthing present that we can help the user with case "${prev}" in @@ -146,6 +148,11 @@ _lsm() COMPREPLY=( $(compgen -W "${potential_args}" -- ${cur}) ) return 0 ;; + volume-delete) + possible_args "${volume_delete_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