From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Ne8f8-0001R2-Oz for mharc-grub-devel@gnu.org; Sun, 07 Feb 2010 10:03:02 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ne8f7-0001Qc-94 for grub-devel@gnu.org; Sun, 07 Feb 2010 10:03:01 -0500 Received: from [199.232.76.173] (port=36341 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ne8f6-0001QP-W9 for grub-devel@gnu.org; Sun, 07 Feb 2010 10:03:01 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Ne8f5-0000nR-Fx for grub-devel@gnu.org; Sun, 07 Feb 2010 10:03:00 -0500 Received: from smarthost02.mail.zen.net.uk ([212.23.3.141]:38644) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ne8f4-0000n0-NY for grub-devel@gnu.org; Sun, 07 Feb 2010 10:02:59 -0500 Received: from [82.69.40.219] (helo=riva.pelham.vpn.ucam.org) by smarthost02.mail.zen.net.uk with esmtp (Exim 4.63) (envelope-from ) id 1Ne8f3-0004E7-A1 for grub-devel@gnu.org; Sun, 07 Feb 2010 15:02:57 +0000 Received: from cjwatson by riva.pelham.vpn.ucam.org with local (Exim 3.36 #1 (Debian)) for grub-devel@gnu.org id 1Ne8f2-00037k-00; Sun, 07 Feb 2010 15:02:56 +0000 Date: Sun, 7 Feb 2010 15:02:56 +0000 From: Colin Watson To: The development of GNU GRUB Message-ID: <20100207150256.GC4409@riva.ucam.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-Smarthost02-IP: [82.69.40.219] X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Subject: Re: [PATCH] --foo bar cmdline argument parsing support for grub-* scripts X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Feb 2010 15:03:01 -0000 On Sun, Feb 07, 2010 at 10:42:12AM +0530, BVK Chaitanya wrote: > Attached patch adds support for "--option argument" style command line > parsing. Currently all these script only support "--option=argument" > style. Yes please (note: haven't reviewed the patch in detail), but perhaps it would make sense to use getopt instead? There are some compatibility issues there that might be a problem if we need to support systems where non-GNU getopt is installed, but it does involve doing less of this by hand. -- Colin Watson [cjwatson@ubuntu.com]