summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2022-05-17 09:31:56 +0300
committerPanu Matilainen <pmatilai@redhat.com>2022-06-28 14:51:02 +0300
commitf2b7669762fa5dc4c538f315431b0da497718f88 (patch)
tree2dbf42eea6498f38204f1cb431a3ea340eae7894
parentc4d38194128fda16e57fcd4a3ba6a07b17d06262 (diff)
downloadrpm-f2b7669762fa5dc4c538f315431b0da497718f88.tar.gz
Unhide -q/--query option
Fixes: #1473 (cherry picked from commit e36ac91ee20d7c9c32ad7d17f3e4b054f9159c21)
-rw-r--r--lib/poptQV.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poptQV.c b/lib/poptQV.c
index 36f3f692e..ac8e8975d 100644
--- a/lib/poptQV.c
+++ b/lib/poptQV.c
@@ -97,7 +97,7 @@ struct poptOption rpmQVSourcePoptTable[] = {
{ "hdrid", '\0', 0, 0, POPT_QUERYBYHDRID,
N_("query/verify package(s) with header identifier"), "SHA1" },
- { "query", 'q', POPT_ARGFLAG_DOC_HIDDEN, NULL, 'q',
+ { "query", 'q', 0, NULL, 'q',
N_("rpm query mode"), NULL },
{ "querybynumber", '\0', POPT_ARGFLAG_DOC_HIDDEN, 0, POPT_QUERYBYNUMBER,
N_("query/verify a header instance"), "HDRNUM" },