From 99cf61fd4211dcb99142f683230947481c05eb93 Mon Sep 17 00:00:00 2001 From: Eric Cook Date: Mon, 25 Dec 2017 21:15:24 -0500 Subject: 42171: prevent parameters of various parameters from becoming global --- Completion/Linux/Command/_ipset | 2 +- Completion/Linux/Command/_valgrind | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Completion/Linux') diff --git a/Completion/Linux/Command/_ipset b/Completion/Linux/Command/_ipset index 0d6afc08e..d05f13caf 100644 --- a/Completion/Linux/Command/_ipset +++ b/Completion/Linux/Command/_ipset @@ -1,7 +1,7 @@ #compdef ipset local offset=0 -local -a args from_to hash cmds listopts +local -a args from_to hash cmds listopts addopts _set_types () { _values -S \ "Set type" \ diff --git a/Completion/Linux/Command/_valgrind b/Completion/Linux/Command/_valgrind index 0284ff880..1ae228c94 100644 --- a/Completion/Linux/Command/_valgrind +++ b/Completion/Linux/Command/_valgrind @@ -1,8 +1,8 @@ #compdef valgrind -value-,VALGRIND_OPTS,-default- local curcontext="$curcontext" state line -local -a cmd common common_mem_null \ - args args_{addrcheck,memcheck,cachegrind,helgrind,lackey,massif,none} +local -a cmd common common_{mem_null,read_varinfo} +local -a args args_{addrcheck,memcheck,cachegrind,helgrind,lackey,massif,none} cmd=( '1:command name:_command_names -e' -- cgit 1.4.1