2008/6/3 Xavier <[EMAIL PROTECTED]>: > On Mon, Jun 2, 2008 at 6:29 PM, Dan McGee <[EMAIL PROTECTED]> 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.
Sounds reasonable. -- Roman Kyrylych (Роман Кирилич) _______________________________________________ pacman-dev mailing list [email protected] http://archlinux.org/mailman/listinfo/pacman-dev
