From 41c8ceaf55a8dba99fe07a259ec47419dfa488c9 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Mon, 25 Mar 2002 23:16:51 +0000 Subject: [PATCH] sync with rpm4 branch: added fancyPercents --- lib/poptI.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/poptI.c b/lib/poptI.c index c7a6a5a..6976b5b 100644 --- a/lib/poptI.c +++ b/lib/poptI.c @@ -13,6 +13,8 @@ extern time_t get_date(const char * p, void * now); /* XXX expedient lies */ /*@=redecl@*/ +extern int fancyPercents; + /*@unchecked@*/ struct rpmInstallArguments_s rpmIArgs; @@ -200,6 +202,9 @@ struct poptOption rpmInstallPoptTable[] = { { "percent", '\0', POPT_BIT_SET, &rpmIArgs.installInterfaceFlags, INSTALL_PERCENT, N_("print percentages as package installs"), NULL}, + { "fancypercent", '\0', 0, + &fancyPercents, 0, + N_("print fancy percentages as package installs"), NULL}, { "prefix", '\0', POPT_ARG_STRING, &rpmIArgs.prefix, 0, N_("relocate the package to , if relocatable"), N_("") },