From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1XcgqO-0000K1-BA for mharc-grub-devel@gnu.org; Fri, 10 Oct 2014 16:31:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34143) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcgqF-0000EU-2Q for grub-devel@gnu.org; Fri, 10 Oct 2014 16:31:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xcgq7-0002tz-IE for grub-devel@gnu.org; Fri, 10 Oct 2014 16:31:10 -0400 Received: from mout.gmx.net ([212.227.15.18]:65527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xcgq7-0002tT-8u for grub-devel@gnu.org; Fri, 10 Oct 2014 16:31:03 -0400 Received: from scdbackup.webframe.org ([87.167.171.43]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M6jMS-1YQHI12qXM-00wU5x; Fri, 10 Oct 2014 22:31:01 +0200 Date: Fri, 10 Oct 2014 22:29:58 +0200 From: "Thomas Schmitt" To: grub-devel@gnu.org Subject: Re: About the CLI of both grub-mkrescue versions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <20141010221904.4a602eff@opensuse.site> In-Reply-To: <20141010221904.4a602eff@opensuse.site> Message-Id: <29560547187450858316@scdbackup.webframe.org> X-Provags-ID: V03:K0:4H9Aj3syrss3+rPLt7TNq0B7nuFkRK6yDJa3PoYR0ynSJvur01J X64iFQlUZipfQzZYwjBj/1j21hNHhFdXjVWTgkodlTpO0mz5EosuvHnMCjvEMx8dD7NaXlw O9poGyuWXYPJiy+49o6BtkwXscW8J6Cim7n1ZLNeln27f60ReezLBiJv/epS4c7MBk7ida4 6WUcmi/BMTZF31GggeoUQ== X-UI-Out-Filterresults: notjunk:1; X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 212.227.15.18 Cc: arvidjaar@gmail.com 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: Fri, 10 Oct 2014 20:31:18 -0000 Hi, > Well, below is much more simple patch which is reusing argp > infrastructure. The only problem - it needs small patch for gnulib > otherwise --help does not work. IMHO this is a bug in gnulib. If you > convince them to fix it ... Me ? I cannot even convince you or Vladimir :)) I understand that you propose a single interpretation mode which shall be compatible with grub-mkrescue(.in) from GRUB 2.00. In the first thread about this topic, the wish was issued to make the ISO producer behave like other GRUB tools. Does any of them use ARGP_NO_ERRS ? My proposal tries to keep old scripts runnable, while not hampering the transition to the common interpretation style. It also complains about now unsupported options of grub-mkrescue(.in), wheras your poposal forwards them to xorriso. (If i get it right.) > I do not say that I particular like it, but looks better than > reimplement parser from scratch. At least it addresses my concerns about compatibility for scripts. If it gets implemented, then it should catch old options -v --version --modules --modules= --override-directory --override-directory= My proposal for -vi and --version was: { printf ("%s %s %s\n", argv[0], PACKAGE_NAME, PACKAGE_VERSION); exit (0); } The others just issue an error message and exit, as i do not know whether they would make sense in grub-mkrescue.c. Have a nice day :) Thomas