diff options
| author | Igor Murzov <e-mail@date.by> | 2011-11-20 20:52:29 +0300 |
|---|---|---|
| committer | Igor Murzov <e-mail@date.by> | 2011-11-20 21:00:10 +0300 |
| commit | 811666369ec94cdc8ab841aac69824e8581ee460 (patch) | |
| tree | 08dcceb1520c18ab7d1fe868474c6a9474f52305 /completions | |
| parent | d26ede488cbb64bc2faec50976f2cc1b313a88aa (diff) | |
| download | bash-completion-811666369ec94cdc8ab841aac69824e8581ee460.tar.gz | |
valgrind: Parse option arguments that contain dashes.
Fixes parsing lines like "--smc-check=none|stack|all|all-non-file".
Diffstat (limited to 'completions')
| -rw-r--r-- | completions/valgrind | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/completions/valgrind b/completions/valgrind index d1834526..56add5bb 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 ;; |
