[Bash-completion-commits] [SCM] bash-completion branch, master, updated. 2.0-28-g904faab

Igor Murzov e-mail at date.by
Sun Aug 12 14:30:51 UTC 2012


The following commit has been merged in the master branch:
commit 904faab0c57b4f6a65a4f62dc9f644d4771e59fe
Author: Igor Murzov <e-mail at date.by>
Date:   Sun Aug 12 18:28:17 2012 +0400

    valgrind: Add --soname-synonyms option arguments completion.
    
    This option was introduced in Valgrind-3.8.0.

diff --git a/completions/valgrind b/completions/valgrind
index 1930c21..6fd3f5d 100644
--- a/completions/valgrind
+++ b/completions/valgrind
@@ -42,6 +42,11 @@ _valgrind()
             COMPREPLY=( $( compgen -W 'lax-ioctls enable-outer' -- "$cur" ) )
             return
             ;;
+        --soname-synonyms)
+            COMPREPLY=( $( compgen -W 'somalloc' -S = -- "$cur" ) )
+            [[ $COMPREPLY == *= ]] && compopt -o nospace
+            return
+            ;;
         --kernel-variant)
             COMPREPLY=( $( compgen -W 'bproc' -- "$cur" ) )
             return

-- 
bash-completion



More information about the Bash-completion-commits mailing list