From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Itoh8-0001f5-Og for mharc-grub-devel@gnu.org; Sun, 18 Nov 2007 13:16:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Itoh6-0001eE-I4 for grub-devel@gnu.org; Sun, 18 Nov 2007 13:16:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Itogz-0001c6-Hp for grub-devel@gnu.org; Sun, 18 Nov 2007 13:16:32 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Itogz-0001bw-9X for grub-devel@gnu.org; Sun, 18 Nov 2007 13:16:25 -0500 Received: from mailout02.sul.t-online.de ([194.25.134.17] helo=mailout02.sul.t-online.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Itogy-0001m7-KR for grub-devel@gnu.org; Sun, 18 Nov 2007 13:16:25 -0500 Received: from fwd27.aul.t-online.de by mailout02.sul.t-online.com with smtp id 1Itogq-0008G3-01; Sun, 18 Nov 2007 19:16:16 +0100 Received: from [10.3.2.2] (rIHNZ4ZEQh6vXDilULwPn9f-7GQEPBFOfboQwBpMY-4TiAqwWSII+SPMj4wgtHrQ1r@[217.235.218.178]) by fwd27.aul.t-online.de with esmtp id 1Itogb-0ojWS00; Sun, 18 Nov 2007 19:16:01 +0100 Message-ID: <47408161.6020804@t-online.de> Date: Sun, 18 Nov 2007 19:16:01 +0100 From: Christian Franke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MIME-Version: 1.0 To: The development of GRUB 2 References: <4735CDA9.4060501@t-online.de> <87wssqf39h.fsf@xs4all.nl> <47362686.6030407@t-online.de> <87tznjstll.fsf@xs4all.nl> In-Reply-To: <87tznjstll.fsf@xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ID: rIHNZ4ZEQh6vXDilULwPn9f-7GQEPBFOfboQwBpMY-4TiAqwWSII+SPMj4wgtHrQ1r X-TOI-MSGID: 37b419dd-8bd0-4ed0-8ba1-4444f6df7d09 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Nov 2007 18:16:32 -0000 Marco Gerards wrote: > Christian Franke <...> writes: > > >>> ... >>> >> Will argp_parse() be a pre-requisite for building GRUB2 or will >> argp-standalone be included (some other projects do) ? >> > > Personally, I would prefer it if it could be used as an external > library. The more we include, the more we need to care about. > > Yes, but then future package maintainers will have fewer portability issues to care about :-) >> If you really want argp, why is it used only for the few trivial >> options of grub-emu ? The other utils still use getopt_long(). >> grub-emu does not benefit much from argp, but introduces another >> portability issue. >> > > It's what happened :-) > > Perhaps we should consider getopt_long, for now. It's one file to > change... Does anyone else object? Otherwise I'll review this patch. > > I would appreciate this. Christian