Skip to content

Commit

Permalink
valgrind: Add --soname-synonyms option arguments completion.
Browse files Browse the repository at this point in the history
This option was introduced in Valgrind-3.8.0.
  • Loading branch information
GArik committed Aug 12, 2012
1 parent dc15093 commit 904faab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions completions/valgrind
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 904faab

Please sign in to comment.