summaryrefslogtreecommitdiff
path: root/rpmqv.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2008-01-07 15:37:43 +0200
committerPanu Matilainen <pmatilai@redhat.com>2008-01-07 15:37:43 +0200
commitc80bd01564129d531107f9f8458fc7c07e64bba5 (patch)
tree4a2edf39e4cf105c64e4973bf0a81b5ca23d1be2 /rpmqv.c
parentfcf6b50378eaeac4c1f7ca215b33586b4d41072f (diff)
downloadlibrpm-tizen-c80bd01564129d531107f9f8458fc7c07e64bba5.tar.gz
librpm-tizen-c80bd01564129d531107f9f8458fc7c07e64bba5.tar.bz2
librpm-tizen-c80bd01564129d531107f9f8458fc7c07e64bba5.zip
Print --usage to stderr instead of stdout (rhbz#164021)
Patch derived from rpm5.org work of Jeff Johnson
Diffstat (limited to 'rpmqv.c')
-rw-r--r--rpmqv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmqv.c b/rpmqv.c
index 368099982..9bcc5ccd5 100644
--- a/rpmqv.c
+++ b/rpmqv.c
@@ -828,7 +828,7 @@ ia->probFilter |= RPMPROB_FILTER_OLDPACKAGE;
#endif
case MODE_UNKNOWN:
if (poptPeekArg(optCon) != NULL || argc <= 1 || rpmIsVerbose()) {
- printUsage(optCon, stdout, 0);
+ printUsage(optCon, stderr, 0);
ec = argc;
}
break;