[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-46-ge0c70ab

Igor Murzov e-mail at date.by
Sat Oct 20 23:09:55 UTC 2012


The following commit has been merged in the master branch:
commit e0c70abc8b63bed961b736b17e4757ca0a5f1875
Author: Igor Murzov <e-mail at date.by>
Date:   Sun Oct 21 03:08:15 2012 +0400

    wget: Fix completion of multiple tags for --{follow,ignore}-tags.

diff --git a/completions/wget b/completions/wget
index 3cc8017..d9780d8 100644
--- a/completions/wget
+++ b/completions/wget
@@ -78,7 +78,7 @@ _wget()
             ;;
         --follow-tags|--ignore-tags)
             local lastopt=${cur/*,} prevopt=
-            [[ $cur = *, ]] && prevopt=${cur%,*},
+            [[ $cur = *,* ]] && prevopt=${cur%,*},
 
             COMPREPLY=( $( compgen -P "$prevopt" -W 'a abbr acronym address
                 applet area b base basefont bdo big blockquote body br button

-- 
bash-completion



More information about the Bash-completion-commits mailing list