summaryrefslogtreecommitdiff
path: root/lib/poptI.c
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-11-15 09:56:57 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-11-15 09:56:57 +0200
commit2a807909d9fe903f020e2a772126ee8d431c4215 (patch)
tree83db82993b38badc236efa2b5e16bec4122fcc92 /lib/poptI.c
parentf8752d2ca3bdaa3162f681b5c6f7973c3e171171 (diff)
downloadrpm-2a807909d9fe903f020e2a772126ee8d431c4215.tar.gz
rpm-2a807909d9fe903f020e2a772126ee8d431c4215.tar.bz2
rpm-2a807909d9fe903f020e2a772126ee8d431c4215.zip
Hide obsolete --nomd5 switches from help output
- We dont want new users to pick up using these old switches but preserving functionality for backwards compatibility for now
Diffstat (limited to 'lib/poptI.c')
-rw-r--r--lib/poptI.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/poptI.c b/lib/poptI.c
index b4c14e91d..e6613fbec 100644
--- a/lib/poptI.c
+++ b/lib/poptI.c
@@ -186,7 +186,7 @@ struct poptOption rpmInstallPoptTable[] = {
{ "nofiledigest", '\0', 0, NULL, RPMCLI_POPT_NOFILEDIGEST,
N_("don't verify digest of files"), NULL },
- { "nomd5", '\0', 0, NULL, RPMCLI_POPT_NOFILEDIGEST,
+ { "nomd5", '\0', POPT_ARGFLAG_DOC_HIDDEN, NULL, RPMCLI_POPT_NOFILEDIGEST,
N_("don't verify digest of files (obsolete)"), NULL },
{ "nocontexts", '\0',0, NULL, RPMCLI_POPT_NOCONTEXTS,
N_("don't install file security contexts"), NULL},