From: Medve Emilian-EMMEDVE1 Date: Fri, 05 Oct 2007 16:10:42 GMT Subject: RE: [ALTERNATE PATCH] Add a simple option parser. Message-ID: <598D5675D34BE349929AF5EDE9B03E2701624FF2@az33exm24.fsl.freescale.net> In-Reply-To: <20071005155647.GC20305@artemis.corp> Hi Pierre, > -----Original Message----- > From: Pierre Habouzit [mailto:madcoder@debian.org] > Sent: Friday, October 05, 2007 10:57 AM > To: Medve Emilian-EMMEDVE1 > Cc: Mike Hommey; Kristian Høgsberg; git@vger.kernel.org; > Junio C Hamano > Subject: Re: [ALTERNATE PATCH] Add a simple option parser. > > On ven, oct 05, 2007 at 03:45:36 +0000, Medve Emilian-EMMEDVE1 wrote: > > You probably already considered and rejected the GNU argp parser. I > > used it before and I'd like to know reasons I should stay away from > > it. > > Because it's GNU and that it's a heavy dependency to begin with. So it's more of a political decision then a technical one? > Moreover, getopt_long doesn't deal with argument types (like > integers). AFAIK, getopt_long in not argp. Cheers, Emil.