From: "Christian Ruppert" <idl0r@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/
Date: Sun, 29 May 2011 10:59:00 +0000 (UTC) [thread overview]
Message-ID: <a87846fbb8d3f88d37d8c295021921a6e136145c.idl0r@gentoo> (raw)
commit: a87846fbb8d3f88d37d8c295021921a6e136145c
Author: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sun May 29 10:57:11 2011 +0000
Commit: Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sun May 29 10:57:11 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoolkit.git;a=commit;h=a87846fb
Allow only one arg for --arch/-a
Allowing multiple args for -a/--arch causes some trouble (depending on the order)
E.g. "eshowkw cat/pkg -a a b" would work while "eshowkw -a a cat/pkg" wouldn't
because it would count cat/pkg to the -a/--arch option.
eshowkw -a amd64 kdelibs
No ebuilds at "/root"
---
pym/gentoolkit/eshowkw/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pym/gentoolkit/eshowkw/__init__.py b/pym/gentoolkit/eshowkw/__init__.py
index e0544a9..86c59b7 100644
--- a/pym/gentoolkit/eshowkw/__init__.py
+++ b/pym/gentoolkit/eshowkw/__init__.py
@@ -56,7 +56,7 @@ def process_args(argv):
parser.add_argument('package', nargs='*', default=None, help='Packages to check.')
- parser.add_argument('-a', '--arch', nargs='+', default=[], help='Display only specified arch(s)')
+ parser.add_argument('-a', '--arch', nargs=1, default=[], help='Display only specified arch(s)')
parser.add_argument('-A', '--align', nargs='?', default='bottom', choices=['top', 'bottom'],
help='Specify alignment for descriptions.')
next reply other threads:[~2011-05-29 10:59 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-29 10:59 Christian Ruppert [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-08-09 20:14 [gentoo-commits] proj/gentoolkit:gentoolkit commit in: pym/gentoolkit/eshowkw/ Michał Górny
2012-05-16 21:59 Paul Varner
2012-05-08 21:06 Paul Varner
2012-04-11 15:01 Paul Varner
2011-05-16 16:40 Brian Dolbec
2011-02-25 2:23 Brian Dolbec
2011-02-25 2:23 Brian Dolbec
2011-02-24 21:49 Christian Ruppert
2011-02-24 21:41 Christian Ruppert
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=a87846fbb8d3f88d37d8c295021921a6e136145c.idl0r@gentoo \
--to=idl0r@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