From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JEjiD-0008C5-ND for mharc-grub-devel@gnu.org; Tue, 15 Jan 2008 06:12:09 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JEjiC-0008Bo-2C for grub-devel@gnu.org; Tue, 15 Jan 2008 06:12:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JEjiB-0008BR-AU for grub-devel@gnu.org; Tue, 15 Jan 2008 06:12:07 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JEjiB-0008BI-7h for grub-devel@gnu.org; Tue, 15 Jan 2008 06:12:07 -0500 Received: from smtp-vbr16.xs4all.nl ([194.109.24.36]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JEjiA-0006a1-TD for grub-devel@gnu.org; Tue, 15 Jan 2008 06:12:07 -0500 Received: from localhost.localdomain (249-174.surfsnel.dsl.internl.net [145.99.174.249]) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m0FBC5pZ088719 for ; Tue, 15 Jan 2008 12:12:05 +0100 (CET) (envelope-from mgerards@xs4all.nl) From: Marco Gerards To: The development of GRUB 2 References: <4735CDA9.4060501@t-online.de> <87fxx1hatm.fsf@xs4all.nl> <478BD609.1040307@t-online.de> Mail-Copies-To: mgerards@xs4all.nl Date: Tue, 15 Jan 2008 12:13:01 +0100 In-Reply-To: <478BD609.1040307@t-online.de> (Christian Franke's message of "Mon, 14 Jan 2008 22:37:13 +0100") Message-ID: <87wsqb2vgi.fsf@xs4all.nl> User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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: Tue, 15 Jan 2008 11:12:08 -0000 Christian Franke writes: [...] > 2008-01-14 Christian Franke > > * util/grub-emu.c: Replace by . > (argp_program_version): Remove variable. > (argp_program_bug_address): Likewise. > (options): Convert from struct argp_option to struct option. > (struct arguments): Remove. > (parse_opt): Remove. > (usage): New function. > (main): Replace struct args members by simple variables. > Replace argp_parse() by getopt_long(). > Add switch to evaluate options. > Add missing "(...)" around root_dev in prefix string. This can be committed. If no one does this, I will do this when I have the time to do this. -- Marco