From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YqPSg-0007Nt-FW for mharc-grub-devel@gnu.org; Thu, 07 May 2015 13:19:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56791) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqPSe-0007NV-Nv for grub-devel@gnu.org; Thu, 07 May 2015 13:19:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqPSa-0007le-Ht for grub-devel@gnu.org; Thu, 07 May 2015 13:19:48 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:34836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqPSa-0007lV-A3 for grub-devel@gnu.org; Thu, 07 May 2015 13:19:44 -0400 Received: by lbbuc2 with SMTP id uc2so36007894lbb.2 for ; Thu, 07 May 2015 10:19:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type; bh=wY+7+KTmQHn7XLKZ6R7wnFtnPlCD6HaojyCOT16ZdLA=; b=mwI/Och6tC+jABZ+MP3S6OQdIKut3aYg6+vHjtffoRRsn1gZ9Rw1b2wJL/ydLycWP6 AAyvGfdzLnxO9353sf8TBeqWzNhwq7e3538GiOqK+bNE4HEDwzk6syVUoihf0RA0w0nz r3sk0v/d6rxoKJUvr14wJgT+Zjei1f3hzFbvBI4Z/vM1Cp3CfLWTq3Kt+iPBkz9S0bgF UglvQBBlNTc1+CI5owkSXllzH37daNKKHaWiASzMBobVWs6V1W5ugq9YM81XBNnerqoA gYELhupjzehN6ZYKC7Ci+2MNawWhY7PstvS06BIquE1bvJ0DxVr/2rhUbdEzuXSfKQoE 4t4Q== X-Received: by 10.112.139.198 with SMTP id ra6mr3905999lbb.15.1431019183585; Thu, 07 May 2015 10:19:43 -0700 (PDT) Received: from opensuse.site (ppp91-76-14-38.pppoe.mtu-net.ru. [91.76.14.38]) by mx.google.com with ESMTPSA id q1sm587854laq.10.2015.05.07.10.19.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 May 2015 10:19:42 -0700 (PDT) Date: Thu, 7 May 2015 20:19:38 +0300 From: Andrei Borzenkov To: Vladimir =?UTF-8?B?J8+GLWNvZGVyL3BoY29kZXIn?= Serbinenko Subject: Re: grub-mkrescue problems in argp_parse Message-ID: <20150507201938.328a6464@opensuse.site> In-Reply-To: <554B795D.5080403@gmail.com> References: <5540E510.6040002@gmail.com> <25321568600134319256@scdbackup.webframe.org> <554B795D.5080403@gmail.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.27; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/LNIqngqhwgccbN.aS.HOXFh"; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::231 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, 07 May 2015 17:19:49 -0000 --Sig_/LNIqngqhwgccbN.aS.HOXFh Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable =D0=92 Thu, 07 May 2015 16:40:29 +0200 Vladimir '=CF=86-coder/phcoder' Serbinenko =D0=BF=D0=B8= =D1=88=D0=B5=D1=82: > > Used in old mkisofs. > > "Do not add trailing dot to ISO file names without dot." > > An alias is available: -omit-period > >=20 > Or user can use --d > >> In future we can make a rule to add only options starting with --. > >=20 > > This will not really create clarity because i already added > > options with "--" to -as mkisofs. Mainly to get out of > > the way of future mkisofs extensions. The current option > > set of xorriso -as mkisofs is strictly irregular. > >=20 > In retrospect we should have put a --grub- there. But OTOH > --grub- makes options that longer. For rarely used options it's not a > problem though. Can we have --grub* space? >=20 >=20 util/grub-mkrescue.c: In function =E2=80=98main=E2=80=99: util/grub-mkrescue.c:455:27: error: assignment discards =E2=80=98const=E2= =80=99 qualifier from pointer target type [-Werror] argp_argv[argp_argc++] =3D "--output"; ^ Folks, I really suggest to bite the bullet and switch to argp. There is nothing wrong in changing syntax once in a lifetime; moreover, I expect that most users who actually care already adapted to new syntax - we have it for one and half year. So you just introduced yet another incompatibility without really fixing anything. --Sig_/LNIqngqhwgccbN.aS.HOXFh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlVLnqoACgkQR6LMutpd94zDEQCgiId/+r+oMFJxqU5JEB0zdtS2 diYAoMVyEaIz5zLEc/M1MNJpRDMhRvO2 =Vjve -----END PGP SIGNATURE----- --Sig_/LNIqngqhwgccbN.aS.HOXFh--