[Rpm-maint] Promoting popt
Axel Liljencrantz
liljencrantz at gmail.com
Tue Dec 19 01:30:43 UTC 2006
On 12/19/06, James Bowes <jbowes at redhat.com> wrote:
> Hi:
>
> Axel Liljencrantz wrote:
> > Is the latest popt version closer to getopt_long in commandline syntax
> > than the one used in fedora 6? Specifically, does it support
> > specifying arguments for switches using '=', like 'rpm -q
> > --whatprovides=kernel'?
>
> I think it actually does. For instance, try:
> rpm --pipe=less -q --whatprovides zsh
>
> This may just be a case of rpm's command-line syntax being a little,
> uhm, interesting.
Thanks for the clarification.
So all one would have to do is tweak the way rpm parses switches? That
should be easier to fix.
Would a patch that tries to fix this be accepted?
>
> -James
>
--
Axel
More information about the Rpm-maint
mailing list