[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-271-g5a6b9a2

Ville Skyttä ville.skytta at iki.fi
Wed May 4 21:20:33 UTC 2011


The following commit has been merged in the master branch:
commit 5a6b9a22e70fb165025382113864406fffceba25
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu May 5 00:19:53 2011 +0300

    ipmitool: Use _parse_help.

diff --git a/completions/ipmitool b/completions/ipmitool
index c710f0f..5888f16 100644
--- a/completions/ipmitool
+++ b/completions/ipmitool
@@ -60,8 +60,7 @@ _ipmitool()
     esac
 
     if [[ "$cur" == -* ]]; then
-        COMPREPLY=( $( compgen -W '-h -V -v -c -d -I -H -p -U -f -S -a \
-            -e -C -k -y -L -A -P -E -K -m -b -t -B -T -l -o -O' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '$( _parse_help "$1" -h)' -- "$cur" ) )
         return 0
     fi
 

-- 
bash-completion



More information about the Bash-completion-commits mailing list