From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S5f7i-00070e-5b for mharc-grub-devel@gnu.org; Thu, 08 Mar 2012 10:19:22 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5f7b-0006yI-Kv for grub-devel@gnu.org; Thu, 08 Mar 2012 10:19:21 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5f7L-0005yz-FJ for grub-devel@gnu.org; Thu, 08 Mar 2012 10:19:15 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:48443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5f7L-0005xD-6N for grub-devel@gnu.org; Thu, 08 Mar 2012 10:18:59 -0500 Received: by eeke53 with SMTP id e53so194637eek.0 for ; Thu, 08 Mar 2012 07:18:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=ROotDwYNQVhoF25efMEHnvrc4uxNt/+C8kTCA4VndjA=; b=gnK9lIBprdc9iMQ8trG1/ZWP5bO+9+WGdB7PV0knQ/K+5wld4AWO5jrf+FYdjtHauB h7LOHjOU9A0aAjbeY9AQBVWJK8xcN36uWKNMYId/Hkw+uZ/XoysraA03U75n1gpT7Z0W tYsHj9IE6AI2+fe53eqL7S0AHFpSq6I45Ekleocxw3ATnE0JLLI7iMZf34bx1BWXPMjk xnY4f65qe75/UMeVon7zCHNQdj4nwEXj07GYjEXty6TDl+O207LWh8bs/V4XtCV6kCI9 DUY0GSINdieN29u3GolCV/sJjDw6T86wVS2i56wPYowtY4jNEAKwW2eOAwnU69Cl9mWl gRdA== Received: by 10.213.26.71 with SMTP id d7mr1311760ebc.30.1331219937100; Thu, 08 Mar 2012 07:18:57 -0800 (PST) Received: from debian.x201.phnet (91-233.197-178.cust.bluewin.ch. [178.197.233.91]) by mx.google.com with ESMTPS id o11sm7120208eef.4.2012.03.08.07.18.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 07:18:56 -0800 (PST) Message-ID: <4F58CDDE.7080608@gmail.com> Date: Thu, 08 Mar 2012 16:18:54 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20120216 Icedove/8.0 MIME-Version: 1.0 To: Andreas Vogel Subject: Re: Ideas for the future References: <4F541349.7070704@anvo-it.de> <4F541723.6030105@gmail.com> <4F54A094.1000000@anvo-it.de> <4F54B78B.9010707@gmail.com> <4F54DF19.7000804@anvo-it.de> <4F58BE22.1020003@gmail.com> <4F58CCDB.7090001@anvo-it.de> In-Reply-To: <4F58CCDB.7090001@anvo-it.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.83.41 Cc: The development of GNU GRUB X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Thu, 08 Mar 2012 15:19:21 -0000 On 08.03.2012 16:14, Andreas Vogel wrote: > Am 08.03.2012 15:11, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: >> On 05.03.2012 16:43, Andreas Vogel wrote: >>> Am 05.03.2012 13:54, schrieb Vladimir 'φ-coder/phcoder' Serbinenko: >>>>> option with an optional argument. By this we would have had what you >>>>> preference and my way too. Regarding optional arguments the option >>>>> handling in GRUB is actually broken by design, so this is, >>>>> unfortunately, not an option. >>>> When i implemented my patches, i wanted to use both ways: a command >>>> line >>>> Again it's unfortunate that noone noticed it when it was committed and >>>> now we're stuck with it. >>> You should think about that again. GRUB is broken regarding that and it >>> should be fixed anyway. Right now it seems that there is only one >>> command which uses GRUB_ARG_OPTION_OPTIONAL so maybe it's one of the >>> last chances to have a cheap fix. >> Learn to use rgrep before making unsupported, easy to check claims: >> ./grub-core/commands/search_wrap.c: {"set", 's', >> GRUB_ARG_OPTION_OPTIONAL, >> ./grub-core/loader/i386/bsd.c: {"serial", 'h', >> GRUB_ARG_OPTION_OPTIONAL, >> ./grub-core/loader/i386/bsd.c: {"serial", 'h', >> GRUB_ARG_OPTION_OPTIONAL, > Yes, you're right, I missed to make 100% sure that i checked all source > files, mea culpa. That's why i wrote "It seems that there is only one...". > > BTW, I spent quite some time to investigate this issue and tried my > best, your reaction is demotivating at least. Just wanna let you know. Sorry about that, I have a lot of things in my head right now (mostly not GRUB-related) > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko