[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.1-16-g5c6b1bb

Ville Skyttä ville.skytta at iki.fi
Thu May 9 11:04:47 UTC 2013


The following commit has been merged in the master branch:
commit 57865686de2d2ff0c455704428a49d5a3b4f98c8
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Thu May 9 13:43:02 2013 +0300

    wget: Stop completing after --help/--version.

diff --git a/completions/wget b/completions/wget
index e2e2573..8ad5b6b 100644
--- a/completions/wget
+++ b/completions/wget
@@ -6,6 +6,9 @@ _wget()
     _init_completion -s || return
 
     case $prev in
+        -V|--version|-h|--help)
+            return
+            ;;
         --progress)
             COMPREPLY=( $( compgen -W 'bar dot' -- "$cur" ) )
             return

-- 
bash-completion



More information about the Bash-completion-commits mailing list