ipmitool: Use _parse_help.

This commit is contained in:
Ville Skyttä 2011-05-05 00:19:53 +03:00
parent ae9e140948
commit 5a6b9a22e7

View File

@ -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