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

diff --git a/doc/lsmcli.bash b/doc/lsmcli.bash
index ad6ec0a..9af57d7 100644
--- a/doc/lsmcli.bash
+++ b/doc/lsmcli.bash
@@ -2,7 +2,7 @@
 # Distributed under the GNU General Public License, version 2.0.
 # See: https://www.gnu.org/licenses/gpl-2.0.html
 #
-# Bash completion for lsmcli. This may be far from ideal, 
+# Bash completion for lsmcli. This may be far from ideal,
 # suggestions & improvements appreciated!
 
 potential_args=''
@@ -31,7 +31,7 @@ function possible_args()
     for i in $1
     do
         listcontains COMP_WORDS[@] "$i"
-        if [[ $? -eq 1 ]] ; then     
+        if [[ $? -eq 1 ]] ; then
             l+=("$i")
         fi
     done
@@ -170,7 +170,7 @@ function _lsm()
             local items=`lsmcli list --type target_ports  -t${sep} | awk -F 
${sep} '{print $1}'`
             COMPREPLY=( $(compgen -W "${items}" -- ${cur}) )
             return 0
-            ;;         
+            ;;
         --fs|--src-fs)
             local items=`lsmcli list --type fs -t${sep} | awk -F ${sep} 
'{print $1}'`
             COMPREPLY=( $(compgen -W "${items}" -- ${cur}) )
@@ -196,7 +196,7 @@ function _lsm()
             fi
             ;;
         snapshots)
-            # Specific listing case where you need a fs too            
+            # Specific listing case where you need a fs too
             if [[ ${COMP_WORDS[COMP_CWORD-2]} == '--type' && \
                   ${COMP_WORDS[COMP_CWORD-3]} == 'list' ]] ; then
                 COMPREPLY=( $(compgen -W "--fs" -- ${cur}) )
@@ -387,7 +387,7 @@ function _lsm()
         if [[ ${cur} == * ]] ; then
             COMPREPLY=( $(compgen -W "${opts_short}${opts_long}${opts_cmds}"  
-- ${cur}) )
             return 0
-        fi        
+        fi
     fi
 }
 complete -F _lsm lsmcli
-- 
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