I recently needed to put together another app, so I did the usual getopt_long()
coding and had an epiphany while looking at how "ugly" it was:  why not give popt
a try.  Never used it before, but I did like the aliasing feature of rpm which
uses it.

Anyways, the questions:
 1) The auto-help displays "--no-flag=ARG" for
    {"flag", 0, POPT_ARG_VAL, &optFlag, 0, "set the flag", NULL}
    I thought POPT_ARG_VAL didn't take a additional arg, so is this a bug,
    or did I misunderstand?  [I want optFlag to be set to a specific value (0).]
 
 2) Why does the popt rpm not build dynamic libs instead of static, and put the
    static libs in popt-devel like most other packages?

Thanks.

P.S.  I'm otherwise quite pleased with popt :)

--
Andrew E. Mileski - Software Engineer
REBEL.COM  http://www.rebel.com/

-- 
To unsubscribe:
mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

Reply via email to