diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 16:52:19 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-03-19 16:52:19 +0200 |
commit | d87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9 (patch) | |
tree | 8ab1abacedd8c07bf8a951e788be5da56c7e88e3 /lib/poptALL.c | |
parent | f510c8704cbd08719e5f868976cfd4242b6fca13 (diff) | |
download | librpm-tizen-d87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9.tar.gz librpm-tizen-d87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9.tar.bz2 librpm-tizen-d87d831cdfd3a8b389dfc71d5b671c5e7dcf74d9.zip |
Eliminate --wtfwalk .. err, --ftswalk and everything implementing it
- that's what find + xargs are for, this is just useless cruft
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r-- | lib/poptALL.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c index d4c02b466..0b331c509 100644 --- a/lib/poptALL.c +++ b/lib/poptALL.c @@ -170,28 +170,6 @@ static void rpmcliAllArgCallback( poptContext con, } } -int ftsOpts = 0; - -struct poptOption rpmcliFtsPoptTable[] = { - { "comfollow", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_COMFOLLOW, - N_("follow command line symlinks"), NULL }, - { "logical", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_LOGICAL, - N_("logical walk"), NULL }, - { "nochdir", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_NOCHDIR, - N_("don't change directories"), NULL }, - { "nostat", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_NOSTAT, - N_("don't get stat info"), NULL }, - { "physical", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_PHYSICAL, - N_("physical walk"), NULL }, - { "seedot", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_SEEDOT, - N_("return dot and dot-dot"), NULL }, - { "xdev", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_XDEV, - N_("don't cross devices"), NULL }, - { "whiteout", '\0', POPT_BIT_SET, &ftsOpts, RPMGI_WHITEOUT, - N_("return whiteout information"), NULL }, - POPT_TABLEEND -}; - struct poptOption rpmcliAllPoptTable[] = { /* FIX: cast? */ { NULL, '\0', POPT_ARG_CALLBACK | POPT_CBFLAG_INC_DATA | POPT_CBFLAG_CONTINUE, |