From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D03E4138ACE for ; Sat, 20 Dec 2014 04:39:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AA446E0C02; Sat, 20 Dec 2014 04:39:42 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 279D3E0BFE for ; Sat, 20 Dec 2014 04:39:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 00BA934063E for ; Sat, 20 Dec 2014 04:39:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A3413CE40 for ; Sat, 20 Dec 2014 04:39:39 +0000 (UTC) From: "Tim Harder" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Tim Harder" Message-ID: <1419050219.ef58d52de7c3c828e5fe9db4667dc1fd18f3b418.radhermit@gentoo> Subject: [gentoo-commits] proj/zsh-completion:master commit in: src/ X-VCS-Repository: proj/zsh-completion X-VCS-Files: src/_binutils-config src/_gcc-config src/_perl-cleaner X-VCS-Directories: src/ X-VCS-Committer: radhermit X-VCS-Committer-Name: Tim Harder X-VCS-Revision: ef58d52de7c3c828e5fe9db4667dc1fd18f3b418 X-VCS-Branch: master Date: Sat, 20 Dec 2014 04:39:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5b694b95-2f33-4fc0-8977-7444d745f2fd X-Archives-Hash: 28be3e5497dbf44650a6b4d22c205391 commit: ef58d52de7c3c828e5fe9db4667dc1fd18f3b418 Author: Tim Harder gentoo org> AuthorDate: Sat Dec 20 04:36:59 2014 +0000 Commit: Tim Harder gentoo org> CommitDate: Sat Dec 20 04:36:59 2014 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=ef58d52d 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 ++-- src/_gcc-config | 6 +++--- src/_perl-cleaner | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) 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' ) diff --git a/src/_gcc-config b/src/_gcc-config index e4dfb51..e292e6c 100644 --- a/src/_gcc-config +++ b/src/_gcc-config @@ -4,12 +4,12 @@ local arguments arguments=( - '(- :)'{--nocolor,-C}'[disable colored output]' + {'(--nocolor)-C','(-C)--nocolor'}'[disable colored output]' '(- :)'{--use-old,-O}'[use the old profile if one was selected]' - '(- :)'{--force,-f}'[make sure all config files are regenerated]' + {'(--force)-f','(-f)--force'}'[make sure all config files are regenerated]' '(- :)'{--get-current-profile,-c}'[print current used gcc profile]' '(- :)'{--list-profiles,-l}'[print a list of available profiles]' - '(- :)'{--split-profile,-S}'[split profiles into their components]' + {'(--split-profile)-S','(-S)--split-profile'}'[split profiles into their components]' '(- :)'{--print-environ,-E}'[print environment of the given/current profile]:profiles:_gcc_profiles' '(- :)'{--get-bin-path,-B}'[print binary path of given/current profile]:profiles:_gcc_profiles' '(- :)'{--get-lib-path,-L}'[print library path of given/current profile]:profiles:_gcc_profiles' diff --git a/src/_perl-cleaner b/src/_perl-cleaner index 5f25aaf..c9e7434 100644 --- a/src/_perl-cleaner +++ b/src/_perl-cleaner @@ -6,9 +6,9 @@ local arguments arguments=( '(- :)'{--help,-h}'[show help]' '(- :)'{--version,-V}'[show version]' - '(- :)'{--pretend,-p}"[pretend (don't do anything)]" - '(- :)'{--verbose,-v}'[increase verbosity (may be specified multiple times)]' - '(- :)'{--quiet,-q}'[decrease verbosity]' + {'(--pretend)-p','(-p)--pretend'}"[pretend (don't do anything)]" + '*'{-v,--verbose}'[increase verbosity (may be specified multiple times)]' + '*'{-q,--quiet}'[decrease verbosity]' "--modules[rebuild perl modules for old installs of perl]" "--allmodules[rebuild all perl modules]" "--libperl[rebuild anything linked against libperl]"