The following commit has been merged in the master branch:
commit c2bee3b831e1c5d9e7a13b8d5d1f8c2f88d1d7fc
Author: Ville Skyttä <[email protected]>
Date:   Thu May 12 00:05:01 2011 +0300

    ether-wake: Use _parse_help.

diff --git a/completions/net-tools b/completions/net-tools
index 646b282..97297b1 100644
--- a/completions/net-tools
+++ b/completions/net-tools
@@ -100,7 +100,7 @@ _ether_wake()
     esac
 
     if [[ $cur == -* ]]; then
-        COMPREPLY=( $( compgen -W '-b -D -i -p -V' -- "$cur" ) )
+        COMPREPLY=( $( compgen -W '$( _parse_help "$1" -u ) -V' -- "$cur" ) )
         return 0
     fi
 

-- 
bash-completion

_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/bash-completion-commits

Reply via email to