summaryrefslogtreecommitdiff
path: root/popt
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-03-12 20:28:30 +0000
committerjbj <devnull@localhost>2002-03-12 20:28:30 +0000
commit865ec50f9462126bf3bdddc236cad7df282e20af (patch)
treefcf8c8d5d0b2888bd9766a6205cfb127eab627cb /popt
parentd18bbd9bdcfaf031e5ca7b6acd5bcc4d2532d3e4 (diff)
downloadrpm-865ec50f9462126bf3bdddc236cad7df282e20af.tar.gz
rpm-865ec50f9462126bf3bdddc236cad7df282e20af.tar.bz2
rpm-865ec50f9462126bf3bdddc236cad7df282e20af.zip
- permit --dbpath and --root with signature (i.e. --import) modes.
CVS patchset: 5353 CVS date: 2002/03/12 20:28:30
Diffstat (limited to 'popt')
-rw-r--r--popt/popthelp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/popt/popthelp.c b/popt/popthelp.c
index 17adc6f2b..07fae0933 100644
--- a/popt/popthelp.c
+++ b/popt/popthelp.c
@@ -247,6 +247,7 @@ static void singleOptionHelp(FILE * fp, int maxLeftCol,
case POPT_ARG_NONE:
break;
case POPT_ARG_VAL:
+#ifdef NOTNOW /* XXX pug ugly nerdy output */
{ long aLong = opt->val;
int ops = (opt->argInfo & POPT_ARGFLAG_LOGICALOPS);
int negate = (opt->argInfo & POPT_ARGFLAG_NOT);
@@ -274,7 +275,9 @@ static void singleOptionHelp(FILE * fp, int maxLeftCol,
le += sprintf(le, (ops ? "0x%lx" : "%ld"), aLong);
/*@=formatconst@*/
*le++ = ']';
- } break;
+ }
+#endif
+ break;
case POPT_ARG_INT:
case POPT_ARG_LONG:
case POPT_ARG_FLOAT: