From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjrnU-0006y0-1Q for qemu-devel@nongnu.org; Mon, 12 May 2014 11:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WjrnP-0003B8-F7 for qemu-devel@nongnu.org; Mon, 12 May 2014 11:05:43 -0400 Received: from mx1.redhat.com ([209.132.183.28]:46567) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WjrnP-0003Ay-0q for qemu-devel@nongnu.org; Mon, 12 May 2014 11:05:39 -0400 Message-ID: <5370E340.5090401@redhat.com> Date: Mon, 12 May 2014 09:05:36 -0600 From: Eric Blake MIME-Version: 1.0 References: <1399898143-28288-1-git-send-email-ncmike@ncultra.org> In-Reply-To: <1399898143-28288-1-git-send-email-ncmike@ncultra.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="wcgR5Qc9Nm0oKAcIhQQBExTJMaKDbevpU" Subject: Re: [Qemu-devel] [PATCH] Add backing file option to qemu-img create help. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Mike Day , qemu-devel@nongnu.org Cc: kwolf@redhat.com, stefanha@redhat.com This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wcgR5Qc9Nm0oKAcIhQQBExTJMaKDbevpU Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 05/12/2014 06:35 AM, Mike Day wrote: > For the create subcommand the backing file (-b) option is documented > on-line but not in the binary. Add it. >=20 > Signed-off-by: Mike Day > --- > qemu-img-cmds.hx | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx > index d029609..7724709 100644 > --- a/qemu-img-cmds.hx > +++ b/qemu-img-cmds.hx > @@ -16,9 +16,9 @@ STEXI > ETEXI > =20 > DEF("create", img_create, > - "create [-q] [-f fmt] [-o options] filename [size]") > + "create [-q] [-f fmt] [-b backing-file] [-o options] filename [siz= e]") > STEXI > -@item create [-q] [-f @var{fmt}] [-o @var{options}] @var{filename} [@v= ar{size}] > +@item create [-q] [-f @var{fmt}] [-b @var{backing_file}] [-o @var{opti= ons}] @var{filename} [@var{size}] There are two spellings for this: -b file -o backing_file=3Dfile is -o considered to be preferred over -b, as an explanation for why it is not documented? --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --wcgR5Qc9Nm0oKAcIhQQBExTJMaKDbevpU 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 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJTcONAAAoJEKeha0olJ0NqmAQIAJpFJX31W8a8CV1p0EFRjt36 wA8SbXKk2aNQSbMg38ZAei7KoZMTvfiHAB44pcAdEVZdE4yQtMN6QPMNDbMC/4vZ ZDlrJdBkzwOhJiVFK7wWdxlwiwH5NqNCplqF7A2wrhXoqcM091VcMDFMo76sgHOi 4EzhXaweuYugPDlfcqFxYOtsg97Ed/1qnmIva+P8Unb1hl4bLhWZsUrF1kPQSdpp VPnRqn4Adc035uuYA+aQt/4A8cMYjDS9Amga6hydWfDYYd1QeXaxlUE3SdcPblEd DmDdXu+Z2unPuPECxc+rLDZo5a1WJwjLiZFaFuws0wE4tYv2nG9SiphdSHOsweA= =xagQ -----END PGP SIGNATURE----- --wcgR5Qc9Nm0oKAcIhQQBExTJMaKDbevpU--