diff options
author | jbj <devnull@localhost> | 2001-01-02 00:10:45 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2001-01-02 00:10:45 +0000 |
commit | 836b60f018634944eb61315bad54d644960e71a6 (patch) | |
tree | f4a7fe51de2d56742e1250beb592d83f5356da95 /rpmqv.c | |
parent | fa3e119a8350665f9c8d98929e4ceed041c4c3f3 (diff) | |
download | librpm-tizen-836b60f018634944eb61315bad54d644960e71a6.tar.gz librpm-tizen-836b60f018634944eb61315bad54d644960e71a6.tar.bz2 librpm-tizen-836b60f018634944eb61315bad54d644960e71a6.zip |
fix: qva->qva_sourceCnt check now 2 rather than 1 with nested tables.
CVS patchset: 4398
CVS date: 2001/01/02 00:10:45
Diffstat (limited to 'rpmqv.c')
-rwxr-xr-x | rpmqv.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -343,11 +343,6 @@ static struct poptOption optionsTable[] = { #endif #ifdef IAM_RPMQV -#if 0 - { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQVSourcePoptTable, 0, - N_("Query/Verify options:"), - NULL }, -#endif { NULL, '\0', POPT_ARG_INCLUDE_TABLE, rpmQueryPoptTable, 0, N_("Query options (with -q or --query):"), NULL }, @@ -1058,7 +1053,7 @@ int main(int argc, const char ** argv) } if (qva->qva_sourceCount) { - if (qva->qva_sourceCount > 1) + if (qva->qva_sourceCount > 2) argerror(_("one type of query/verify may be performed at a " "time")); } |