diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-11-15 09:56:57 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-11-15 09:56:57 +0200 |
commit | 2a807909d9fe903f020e2a772126ee8d431c4215 (patch) | |
tree | 83db82993b38badc236efa2b5e16bec4122fcc92 | |
parent | f8752d2ca3bdaa3162f681b5c6f7973c3e171171 (diff) | |
download | librpm-tizen-2a807909d9fe903f020e2a772126ee8d431c4215.tar.gz librpm-tizen-2a807909d9fe903f020e2a772126ee8d431c4215.tar.bz2 librpm-tizen-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
-rw-r--r-- | lib/poptI.c | 2 | ||||
-rw-r--r-- | lib/poptQV.c | 2 |
2 files changed, 2 insertions, 2 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}, diff --git a/lib/poptQV.c b/lib/poptQV.c index 6a6601770..e2944761c 100644 --- a/lib/poptQV.c +++ b/lib/poptQV.c @@ -208,7 +208,7 @@ struct poptOption rpmVerifyPoptTable[] = { { "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"), NULL }, { "nosize", '\0', POPT_BIT_SET|POPT_ARGFLAG_DOC_HIDDEN, &rpmQVKArgs.qva_flags, VERIFY_SIZE, |