summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-03-19 16:54:00 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-03-19 16:54:00 +0200
commit367c0d7014b769a5c12f83b525dddb0a7c76beef (patch)
tree63a0863c27fb205b398bee62c7483ceabbc21912 /rpmqv.c
parentd87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9 (diff)
downloadlibrpm-tizen-367c0d7014b769a5c12f83b525dddb0a7c76beef.tar.gz
librpm-tizen-367c0d7014b769a5c12f83b525dddb0a7c76beef.tar.bz2
librpm-tizen-367c0d7014b769a5c12f83b525dddb0a7c76beef.zip
Eliminate hysterical --hdlist query option and everything implementing it
- This hidden gem used "system hdlist", ie "/usr/share/comps/%{_arch}/hdlist as the source for queries. Such "system hdlist" hasn't existed anywhere since RHL 9/FC 1 times...
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 457881e51..be2707c92 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -751,8 +751,7 @@ int main(int argc, char *argv[])
#ifdef IAM_RPMQV
case MODE_QUERY:
- if (!poptPeekArg(optCon)
- && !(qva->qva_source == RPMQV_ALL || qva->qva_source == RPMQV_HDLIST))
+ if (!poptPeekArg(optCon) && !(qva->qva_source == RPMQV_ALL))
argerror(_("no arguments given for query"));
qva->qva_specQuery = rpmspecQuery;
@@ -766,8 +765,7 @@ int main(int argc, char *argv[])
verifyFlags &= ~qva->qva_flags;
qva->qva_flags = (rpmQueryFlags) verifyFlags;
- if (!poptPeekArg(optCon)
- && !(qva->qva_source == RPMQV_ALL || qva->qva_source == RPMQV_HDLIST))
+ if (!poptPeekArg(optCon) && !(qva->qva_source == RPMQV_ALL))
argerror(_("no arguments given for verify"));
ec = rpmcliVerify(ts, qva, (ARGV_const_t) poptGetArgs(optCon));
} break;