summaryrefslogtreecommitdiff
path: root/lib/poptALL.c
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-07-29 23:06:06 +0000
committerjbj <devnull@localhost>2002-07-29 23:06:06 +0000
commitc8502fbab503982d95f49141c0a7fa305c750e90 (patch)
tree590970cb3d9b9b9256b97da0fa9821ced8a2238d /lib/poptALL.c
parent5a1ebaccd57b157b70bcd1277f66c5d97e94edf1 (diff)
downloadrpm-c8502fbab503982d95f49141c0a7fa305c750e90.tar.gz
rpm-c8502fbab503982d95f49141c0a7fa305c750e90.tar.bz2
rpm-c8502fbab503982d95f49141c0a7fa305c750e90.zip
- update trpm.
- factor all mode-specific options into mode-specific tables. - treat an unspecified epoch as Epoch: 0 everywhere. CVS patchset: 5578 CVS date: 2002/07/29 23:06:06
Diffstat (limited to 'lib/poptALL.c')
-rw-r--r--lib/poptALL.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/poptALL.c b/lib/poptALL.c
index b90576f78..b4aa4455b 100644
--- a/lib/poptALL.c
+++ b/lib/poptALL.c
@@ -9,17 +9,20 @@
#include "debug.h"
-#ifdef NOTYET
-#define POPT_RCFILE -1022
-#endif
#define POPT_SHOWVERSION -999
#define POPT_SHOWRC -998
+#ifdef NOTYET
+#define POPT_RCFILE -997
+#endif
/*@unchecked@*/
static int _debug = 0;
/*@-exportheadervar@*/
/*@unchecked@*/
+extern int _rpmds_nopromote;
+
+/*@unchecked@*/
extern int _fps_debug;
/*@unchecked@*/
@@ -227,6 +230,9 @@ struct poptOption rpmcliAllPoptTable[] = {
N_("disable use of libio(3) API"), NULL},
#endif
+ { "promoteepoch", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_rpmds_nopromote, 0,
+ NULL, NULL},
+
{ "fpsdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_fps_debug, -1,
NULL, NULL},
{ "fsmdebug", '\0', POPT_ARG_VAL|POPT_ARGFLAG_DOC_HIDDEN, &_fsm_debug, -1,