diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-11-09 09:30:47 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-11-09 09:30:47 +0200 |
commit | 9f89a023695f44373d2f9c82808bfdbe2e1e93f6 (patch) | |
tree | 8696eb6428f930d714e9d6ab6b65d61a3526f642 | |
parent | ce7fbea620e4a55a18c737390b30844cf5125145 (diff) | |
download | librpm-tizen-9f89a023695f44373d2f9c82808bfdbe2e1e93f6.tar.gz librpm-tizen-9f89a023695f44373d2f9c82808bfdbe2e1e93f6.tar.bz2 librpm-tizen-9f89a023695f44373d2f9c82808bfdbe2e1e93f6.zip |
Hide --aid and --nosuggest switches for now
- These have been no-ops since rpm 4.6, but might resurface one day so
leaving them around but out of sight...
-rw-r--r-- | lib/poptI.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/poptI.c b/lib/poptI.c index 4cbc923ce..b4c14e91d 100644 --- a/lib/poptI.c +++ b/lib/poptI.c @@ -109,7 +109,8 @@ struct poptOption rpmInstallPoptTable[] = { { NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE, installArgCallback, 0, NULL, NULL }, - { "aid", '\0', POPT_BIT_SET, &rpmIArgs.transFlags, RPMTRANS_FLAG_ADDINDEPS, + { "aid", '\0', POPT_BIT_SET | POPT_ARGFLAG_DOC_HIDDEN, + &rpmIArgs.transFlags, RPMTRANS_FLAG_ADDINDEPS, N_("add suggested packages to transaction"), NULL }, { "allfiles", '\0', POPT_BIT_SET, @@ -195,8 +196,8 @@ struct poptOption rpmInstallPoptTable[] = { N_("do not reorder package installation to satisfy dependencies"), NULL}, - { "nosuggest", '\0', POPT_BIT_SET, &rpmIArgs.transFlags, - RPMTRANS_FLAG_NOSUGGEST, + { "nosuggest", '\0', POPT_BIT_SET | POPT_ARGFLAG_DOC_HIDDEN, + &rpmIArgs.transFlags, RPMTRANS_FLAG_NOSUGGEST, N_("do not suggest missing dependency resolution(s)"), NULL}, { "noscripts", '\0', 0, NULL, RPMCLI_POPT_NOSCRIPTS, |