From: "Tim Harder" <radhermit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/zsh-completion:master commit in: src/
Date: Sat, 20 Dec 2014 02:15:06 +0000 (UTC) [thread overview]
Message-ID: <1419041625.210cbb7c3cf71e2d7da85c4e167ce2bdd265da3a.radhermit@gentoo> (raw)
commit: 210cbb7c3cf71e2d7da85c4e167ce2bdd265da3a
Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 02:12:28 2014 +0000
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 02:13:45 2014 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/zsh-completion.git;a=commit;h=210cbb7c
_portage: add optional arguments for quickpkg
---
src/_portage | 21 ++++++++++++++++-----
1 file changed, 16 insertions(+), 5 deletions(-)
diff --git a/src/_portage b/src/_portage
index e9639d8..efa3c0e 100644
--- a/src/_portage
+++ b/src/_portage
@@ -41,16 +41,27 @@ _ebuild () {
}
-# Stuff for quickpkg
-
_quickpkg () {
+ local optional_args
+
+ optional_args=(
+ "(: -)"{-h,--help}'[show this help message and exit]'
+ "--umask[umask used during package creation (default is 0077)]:umask (octal)"
+ "--ignore-default-opts[do not use the QUICKPKG_DEFAULT_OPTS environment variable]"
+ "--include-config[include all files protected by CONFIG_PROTECT (as a security precaution, default is 'n')]:y or n:((y n))"
+ "--include-unmodified-config[include files protected by CONFIG_PROTECT that have not been modified since installation (as a security precaution, default is 'n')]:y or n:((y n))"
+ )
+
if compset -P '(\\|)(>=|<=|<|>|=)'; then
- _arguments -s \
- '*:installed package:_gentoo_packages installed_versions'
+ _arguments -s \
+ "$optional_args[@]" \
+ '*:installed package:_gentoo_packages installed_versions'
elif compset -P '(\\|)[/]'; then
_path_files -W / -/
else
- _arguments '*:installed package:_gentoo_packages installed'
+ _arguments \
+ "$optional_args[@]" \
+ '*:installed package:_gentoo_packages installed'
fi
}
next reply other threads:[~2014-12-20 2:15 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-20 2:15 Tim Harder [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-01-17 14:45 [gentoo-commits] proj/zsh-completion:master commit in: src/ Vadim Misbakh-Soloviov
2022-01-12 9:35 Vadim Misbakh-Soloviov
2022-01-12 9:35 Vadim Misbakh-Soloviov
2020-09-14 3:13 Vadim Misbakh-Soloviov
2020-09-14 3:13 Vadim Misbakh-Soloviov
2020-09-14 3:13 Vadim Misbakh-Soloviov
2020-09-14 3:13 Vadim Misbakh-Soloviov
2020-02-19 18:51 Vadim Misbakh-Soloviov
2020-02-19 18:47 Vadim Misbakh-Soloviov
2020-02-19 18:47 Vadim Misbakh-Soloviov
2020-02-19 18:47 Vadim Misbakh-Soloviov
2020-02-19 18:47 Vadim Misbakh-Soloviov
2020-02-19 18:47 Vadim Misbakh-Soloviov
2020-02-19 17:53 Vadim Misbakh-Soloviov
2020-02-19 17:53 Vadim Misbakh-Soloviov
2020-02-19 17:53 Vadim Misbakh-Soloviov
2015-04-28 14:56 Vadim A. Misbakh-Soloviov
2015-04-28 12:07 Vadim A. Misbakh-Soloviov
2015-04-28 12:07 Vadim A. Misbakh-Soloviov
2014-12-22 22:57 Tim Harder
2014-12-21 9:51 Tim Harder
2014-12-21 9:51 Tim Harder
2014-12-20 23:22 Tim Harder
2014-12-20 22:29 Tim Harder
2014-12-20 20:04 Tim Harder
2014-12-20 20:04 Tim Harder
2014-12-20 20:04 Tim Harder
2014-12-20 5:31 Tim Harder
2014-12-20 4:54 Tim Harder
2014-12-20 4:39 Tim Harder
2014-12-20 4:39 Tim Harder
2014-12-20 3:21 Tim Harder
2014-12-20 3:08 Tim Harder
2014-12-20 3:08 Tim Harder
2014-12-20 3:08 Tim Harder
2014-12-20 2:35 Tim Harder
2014-12-20 2:15 Tim Harder
2014-12-18 16:59 Tim Harder
2014-12-18 16:59 Tim Harder
2014-12-18 16:59 Tim Harder
2014-12-01 7:48 Tim Harder
2014-12-01 7:48 Tim Harder
2014-12-01 7:34 Tim Harder
2014-12-01 7:34 Tim Harder
2014-11-27 7:23 Tim Harder
2014-11-27 7:23 Tim Harder
2014-11-27 6:39 Tim Harder
2014-11-24 9:13 Vadim A. Misbakh-Soloviov
2014-11-24 7:33 Tim Harder
2014-11-24 7:33 Tim Harder
2014-11-23 21:35 Vadim A. Misbakh-Soloviov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1419041625.210cbb7c3cf71e2d7da85c4e167ce2bdd265da3a.radhermit@gentoo \
--to=radhermit@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox