[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 1.90-57-g8116663

Igor Murzov e-mail at date.by
Sun Nov 20 17:01:58 UTC 2011


The following commit has been merged in the master branch:
commit 811666369ec94cdc8ab841aac69824e8581ee460
Author: Igor Murzov <e-mail at date.by>
Date:   Sun Nov 20 20:52:29 2011 +0300

    valgrind: Parse option arguments that contain dashes.
    
    Fixes parsing lines like "--smc-check=none|stack|all|all-non-file".

diff --git a/completions/valgrind b/completions/valgrind
index d183452..56add5b 100644
--- a/completions/valgrind
+++ b/completions/valgrind
@@ -81,7 +81,7 @@ _valgrind()
                     ;;
                 # "yes", "yes|no", etc (but not "string", "STR",
                 # "hint1,hint2,...")
-                yes|+([a-z0-9])\|+([a-z0-9\|]))
+                yes|+([-a-z0-9])\|+([-a-z0-9\|]))
                     COMPREPLY=( $( IFS='|' compgen -W '$value' -- "$cur" ) )
                     return
                     ;;

-- 
bash-completion



More information about the Bash-completion-commits mailing list