Red Hat Bugzilla – Bug 108924
Auto-help shows incorrect usage
Last modified: 2007-03-27 00:11:27 EDT
Description of problem:
I have found an ugly cosmetic flaw in popt which can lead to its
I have puzzled for some time what the difference between
application --someoption -g=sys
application --someoption -g sys
is. According to the POPT_AUTOHELP (-? flag), the -g= style also works
(besides -g and --group and --group= for example), however, that is
wrong. I really think in the help usage (-?), the = should NOT appear
on single options, like:
-g=gid Provide a GID for the new group
-g, --group=gid Provide...
are ok though, since --longopt accepts both whitespace and =.
popt-1.6.4-31 from SuSE, though this issue can be found in any popt.
Created attachment 95670 [details]
A patch fixing this visual glitch
FIxed in CVS, should be in rpm-4.2.2-0.8 and later.
There have been more codeplaces that are odd besides the ones corrected in the
first patch. Here is another one to fix other places where this -A=stuff comes
in (if you have not corrected that already yourself)
Hmmm patch does not apply to popt-1.8.2.
Deffered until I get a chance.