3 Jun
2008
3 Jun
'08
8:49 a.m.
On Mon, Jun 2, 2008 at 6:29 PM, Dan McGee <dpmcgee@gmail.com> wrote:
I won't graciously accept it! :)
I'd much rather keep longopts, so I think a parse_options() function that uses getopts in combo with some manual longopt parsing is our best bet.
Ok so let's just revert to the old way: http://www.archlinux.org/pipermail/pacman-dev/2008-May/011858.html You can see the loop was approximately twice longer because longopts and shortopts are handled separately, but it might be the best compromise.