From ba39bb922804ff6b8a17f55a6a7ca2b0c4c042ed Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Sun, 22 Apr 2012 14:47:01 +0200 Subject: [PATCH] Revert "[eit] query: drop --in for revdeps and tags completely (not needed)" This reverts commit ad2a261f78953418f608092e2f3c1a8accc472af. --- server/eit/commands/query.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/server/eit/commands/query.py b/server/eit/commands/query.py index d83c2de95..622967595 100644 --- a/server/eit/commands/query.py +++ b/server/eit/commands/query.py @@ -68,6 +68,9 @@ class EitQuery(EitCommand): needed_parser.add_argument("--quiet", "-q", action="store_true", default=self._quiet, help=_('quiet output, for scripting purposes')) + needed_parser.add_argument("--in", metavar="", + help=_("query into given repository only"), + dest="inrepo", default=None) needed_parser.add_argument("packages", nargs='+', metavar="", help=_("package names")) @@ -84,6 +87,9 @@ class EitQuery(EitCommand): revdeps_parser.add_argument("--bdeps", "-b", action="store_true", default=False, help=_('include build dependencies')) + revdeps_parser.add_argument("--in", metavar="", + help=_("query into given repository only"), + dest="inrepo", default=None) revdeps_parser.add_argument("packages", nargs='+', metavar="", help=_("package names"))