From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S5e4r-0004zg-7c for mharc-grub-devel@gnu.org; Thu, 08 Mar 2012 09:12:21 -0500 Received: from eggs.gnu.org ([208.118.235.92]:54614) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5e4l-0004z0-3x for grub-devel@gnu.org; Thu, 08 Mar 2012 09:12:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S5e4Q-0008FS-L7 for grub-devel@gnu.org; Thu, 08 Mar 2012 09:12:14 -0500 Received: from mail-ee0-f41.google.com ([74.125.83.41]:57742) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S5e4Q-0008F8-CZ for grub-devel@gnu.org; Thu, 08 Mar 2012 09:11:54 -0500 Received: by eeke53 with SMTP id e53so171033eek.0 for ; Thu, 08 Mar 2012 06:11:51 -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=NEUUVD7ehlRRRaiXCq5cl89BZ4rP+Jsn8LD0T48lAnA=; b=ozFTa3rEb2xJodz63KM8mwG3yWCCCIAClSvtAbyZtV6PU08zDguqnDKQcUfcqmCpl2 lYseW3yTiUdehtOGAHVHf3uaHNvfDlQ2Ff0ZoUZP0/EgJV9BDS21LhX/1oI2Do8DN8Ty N85t8DGfKvaPTDArZwKhEHoV3yPFcKYZ4qXTlYc8ppv+MbEObDqtVwLrDw2gHalWOktl fkQiQZluhwtec2ZYV5KrdwK3Dps9+GtUqOX7sjxy/yVkeLou9x65omuxW5ga/muDBC+y OP1mOevdVdm3/P4wa1t/k6wgD9PIY3IBn37OFFBtbiU5TuX4sl0frCNe59o1puK6hBzJ K3rQ== Received: by 10.14.32.139 with SMTP id o11mr2405092eea.10.1331215911296; Thu, 08 Mar 2012 06:11:51 -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 s48sm6556241eem.0.2012.03.08.06.11.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Mar 2012 06:11:49 -0800 (PST) Message-ID: <4F58BE22.1020003@gmail.com> Date: Thu, 08 Mar 2012 15:11:46 +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> In-Reply-To: <4F54DF19.7000804@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 14:12:20 -0000 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, > -- Regards Vladimir 'φ-coder/phcoder' Serbinenko