The following commit has been merged in the master branch:
commit 5a6b9a22e70fb165025382113864406fffceba25
Author: Ville Skyttä <[email protected]>
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
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits