From ef58d52de7c3c828e5fe9db4667dc1fd18f3b418 Mon Sep 17 00:00:00 2001 From: Tim Harder Date: Fri, 19 Dec 2014 20:36:59 -0800 Subject: fix singular argument forcing This allows multiples of the same option to be completed in certain cases (increasing/decreasing verbosity for perl-cleaner) and fixes several cases where arguments shouldn't stop additional arguments from being completed. --- src/_binutils-config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/_binutils-config') diff --git a/src/_binutils-config b/src/_binutils-config index 30064b3..1dd7bb9 100644 --- a/src/_binutils-config +++ b/src/_binutils-config @@ -5,8 +5,8 @@ local arguments arguments=( '(- :)'{--get-current-profile,-c}'[print current profile]' '(- :)'{--list-profiles,-l}'[print a list of available profiles]' - '(- :)'{--uninstall,-u}'[remove all signs of specified target]' - '(- :)'{--debug,-d}'[execute with debug output]' + {'(--uninstall)-u','(-u)--uninstall'}'[remove all signs of specified target]' + {'(--debug)-d','(-d)--debug'}'[execute with debug output]' '(- :)'{--help,-h}'[show help]' '(- :):profiles:_binutils_profiles' ) -- cgit v1.2.3-18-g5258