[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.3-290-g68f7fa1

Ville Skyttä ville.skytta at iki.fi
Wed May 11 21:29:23 UTC 2011


The following commit has been merged in the master branch:
commit c2bee3b831e1c5d9e7a13b8d5d1f8c2f88d1d7fc
Author: Ville Skyttä <ville.skytta at iki.fi>
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



More information about the Bash-completion-commits mailing list