From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1S6YJh-0006Dn-HK for mharc-grub-devel@gnu.org; Sat, 10 Mar 2012 21:15:25 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6YJe-0006CS-SC for grub-devel@gnu.org; Sat, 10 Mar 2012 21:15:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6YJc-0006e1-Ul for grub-devel@gnu.org; Sat, 10 Mar 2012 21:15:22 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:36530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6YJc-0006dt-Fu for grub-devel@gnu.org; Sat, 10 Mar 2012 21:15:20 -0500 Received: by werj55 with SMTP id j55so2721330wer.0 for ; Sat, 10 Mar 2012 18:15:18 -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:x-enigmail-version:content-type; bh=gtPlX6vFpqg+/IE6JF2oqbQzyiqF33XgaqjB1kS/rrg=; b=t7UpF/3olAMIzgzgIr7yXNKlJS/NUI127lEOO5c7ivMktmTagG02zmpp7AH98eYeTc OYRE/4QlM0Z8oH0AmL/7J/05rk9e9pE62+aBl5GcKRf99YVnUHOroqsc01EqbXL6Zg5g 5zBvaH9bNN9UTl9oVif9A08Y8bxeyGcxWC+H+XZ4Lhl8XXoOPnn6Om1pC09kPl9+f+M6 MyM6W0PyY0jy0t6/jcrEi+DDzba3JpCmMa+OmCBQoJq9kwHdOY+BQtRRZGFkLspiBawt tkvbl9GEBlwlOzoCNLy0zDke3yWguRC/Ytkg3Kt+cY0npeYfWbmxlC2Pc1XcCCkkupj+ zz1Q== Received: by 10.180.100.33 with SMTP id ev1mr18941377wib.3.1331432118565; Sat, 10 Mar 2012 18:15:18 -0800 (PST) Received: from fedora.x201.phnet (207-116.62-81.cust.bluewin.ch. [81.62.116.207]) by mx.google.com with ESMTPS id ff2sm34935188wib.9.2012.03.10.18.15.16 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 10 Mar 2012 18:15:17 -0800 (PST) Message-ID: <4F5C0AB3.8030404@gmail.com> Date: Sun, 11 Mar 2012 03:15:15 +0100 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20120131 Thunderbird/10.0 MIME-Version: 1.0 To: Andreas Vogel Subject: Re: [BUG] GRUBs option parsing needs fixing References: <4F541349.7070704@anvo-it.de> <4F541723.6030105@gmail.com> <4F54A094.1000000@anvo-it.de> <4F54B78B.9010707@gmail.com> <4F54DF19.7000804@anvo-it.de> <4F58B03E.2050908@anvo-it.de> <4F58BEE8.3050006@gmail.com> <4F58C2E7.6080000@gmail.com> <4F58CA35.2060506@anvo-it.de> <4F58CDAD.3010300@gmail.com> <4F58D436.7040709@anvo-it.de> <4F5BB06A.504@gmail.com> <4F5BECE8.7060007@anvo-it.de> <4F5BF963.3000307@gmail.com> <4F5C06FD.7030209@anvo-it.de> In-Reply-To: <4F5C06FD.7030209@anvo-it.de> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig860A1B9F6DEF243776390F4F" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 74.125.82.169 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: Sun, 11 Mar 2012 02:15:24 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig860A1B9F6DEF243776390F4F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 11.03.2012 02:59, Andreas Vogel wrote: > Am >> Yes. And allowing "-s root" to continue is more important than to allo= w >> -s with no argument. > Don't get your point here. "-s" with no argument is already allowed. > This is actually causing the "unexpected behavior" I'm talking about. I mean that handling -s root -u UUID is more important than -u -s UUID since former is widespread in the existing scripts. >> We can rename ARG_OPTIONAL to ARG_OLD_OPTIONAL, make ARG_OLD_OPTIONAL = to >> behave as to ignore X in --set X as possible argument. > I don't understand that. > > The "old" behavior, e.g. for "search -s|--set", is that if there is no > argument "-s" or "--set" needs to be followed by another option or by > "--". In other words: any argument which is not an option that follows > -s or --set will be taken as the argument for -s or --set. That's the > current situation. I mean changing the behaviour to GNU-like for long but not for short option. And it actually matches 1.98 behaviour. > > > --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig860A1B9F6DEF243776390F4F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk9cCrMACgkQNak7dOguQgkmWgD/RMUP9ljBRgFgV6jgevAWnmQ7 fkHoEoaQOfQD/fv6+BcBAIkYUvxNudS5A1RHUzysdL+7n3RayCTW4MIw+5UTxVQY =NNnd -----END PGP SIGNATURE----- --------------enig860A1B9F6DEF243776390F4F--