diff options
author | Eric Cook <illua@users.sourceforge.net> | 2017-12-25 21:15:24 -0500 |
---|---|---|
committer | Eric Cook <illua@users.sourceforge.net> | 2018-01-02 14:38:03 -0500 |
commit | 99cf61fd4211dcb99142f683230947481c05eb93 (patch) | |
tree | c834f5f0880cc6b5dbafed2828e3800b235c7506 /Completion/Redhat/Command | |
parent | 3c24adb2edcf8c7cd36e7bb90add9611f37f48d4 (diff) | |
download | zsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.gz zsh-99cf61fd4211dcb99142f683230947481c05eb93.tar.xz zsh-99cf61fd4211dcb99142f683230947481c05eb93.zip |
42171: prevent parameters of various parameters from becoming global
Diffstat (limited to 'Completion/Redhat/Command')
-rw-r--r-- | Completion/Redhat/Command/_rpm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Redhat/Command/_rpm b/Completion/Redhat/Command/_rpm index b24213e3c..a9306aa6c 100644 --- a/Completion/Redhat/Command/_rpm +++ b/Completion/Redhat/Command/_rpm @@ -45,7 +45,7 @@ _rpm () { local curcontext="$curcontext" state lstate line nm="$compstate[nmatches]" typeset -A opt_args local ret=1 - local -a tmp expl commonopts selectopts + local -a tmp expl commonopts selectopts pathopts commonopts=( '(-v --verbose)--quiet[print as little as possible]' |