diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 16:54:00 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 16:54:00 +0200 |
commit | 367c0d7014b769a5c12f83b525dddb0a7c76beef (patch) | |
tree | 63a0863c27fb205b398bee62c7483ceabbc21912 /rpmqv.c | |
parent | d87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9 (diff) | |
download | librpm-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.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -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; |