From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aBROT-0007n3-R5 for qemu-devel@nongnu.org; Tue, 22 Dec 2015 13:10:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aBROS-0003Yk-TL for qemu-devel@nongnu.org; Tue, 22 Dec 2015 13:10:41 -0500 References: <1450782389-17326-1-git-send-email-berrange@redhat.com> <1450782389-17326-8-git-send-email-berrange@redhat.com> <5679897C.7060003@redhat.com> <20151222174159.GM10082@redhat.com> <56798D5B.4040800@redhat.com> <20151222180755.GN10082@redhat.com> From: Eric Blake Message-ID: <56799213.6090506@redhat.com> Date: Tue, 22 Dec 2015 11:10:27 -0700 MIME-Version: 1.0 In-Reply-To: <20151222180755.GN10082@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nStx9Pf29lL3sdHw0qdolJCfppCkIdVcK" Subject: Re: [Qemu-devel] [PATCH 7/7] qemu-img: allow specifying image as a set of options args List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" Cc: Kevin Wolf , qemu-block@nongnu.org, qemu-devel@nongnu.org, Markus Armbruster , Paolo Bonzini , =?UTF-8?Q?Andreas_F=c3=a4rber?= This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --nStx9Pf29lL3sdHw0qdolJCfppCkIdVcK Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 12/22/2015 11:07 AM, Daniel P. Berrange wrote: > A third option would be to keep using positional arguments, but > add a '--source-opts' *boolean* flag to indicate how to interpret > the positional arguments. ie without --source-opts we use the > historic syntax, but with --source-opts, we assume the full QemuOpts > syntax. Oh, nice compromise. It's relatively discoverable (grep --help output), preserves back-compat of old scripts, and offers the full power for clients that want the full power. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --nStx9Pf29lL3sdHw0qdolJCfppCkIdVcK Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJWeZITAAoJEKeha0olJ0NqG/EIAKdxft5mY6ow3Q1I+NWDbLzH 3F2RGbj85DEN/FqL2IAv/4T7KauKXMhOY1S2ptczTXPQpOJJK4tqj2WhY8LvbUF5 Qmw6PdW3QzxVv8XXEuicDW1FYOwojwJbgoAoizJeJff/RWUJKJf0DM9IBrYlZwz3 YRA1RlEpP6ta8tgYH7ji3JwiuTjURQNndW4HbHzrc3O7z/AaGjgi8m5iejSiMJXh LONeMIN2ef+iDLRAQg4b1q5XJwFb8IpkiJP3dLiHwsfrU1XajBkFAAV5QClGHZzB km5CEe7TDPEA6Am2Tz7TKZIqfuIJr6PugawC3Ua1vJPXGn4IqOSx1ZXqUQPT7BY= =wBbC -----END PGP SIGNATURE----- --nStx9Pf29lL3sdHw0qdolJCfppCkIdVcK--