From: Sven Verdoolaege Date: Sat, 06 Oct 2007 08:46:11 GMT Subject: Re: [ALTERNATE PATCH] Add a simple option parser. Message-ID: <20071006084611.GE3619MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20071005163846.GE20305@artemis.corp> On Fri, Oct 05, 2007 at 06:38:46PM +0200, Pierre Habouzit wrote: > The real issue is dependency and bloat. getopt_long would need the GNU > implementation, That I believe depends upon gettext, and argp is just > bloated, and I'm not even sure it's distributed outside from the glibc > anyways. It's part of gnulib (http://savannah.gnu.org/git/?group=gnulib). Including argp (and all its dependencies) is as easy as running some gnulib command. It does have some bloat, but for my project it was definitely more convenient to include it than to write my own parser and the bloat is still acceptable I suppose... bash-3.00$ du lib m4 572 lib 208 m4 bash-3.00$ du -s . 20348 . (In a source tree without the git repo.) skimo