From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5HA9-0002Fj-T0 for qemu-devel@nongnu.org; Mon, 20 Jan 2014 10:53:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W5HA5-0003N8-E3 for qemu-devel@nongnu.org; Mon, 20 Jan 2014 10:53:21 -0500 Received: from mx1.redhat.com ([209.132.183.28]:14937) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5HA5-0003M5-5L for qemu-devel@nongnu.org; Mon, 20 Jan 2014 10:53:17 -0500 Message-ID: <52DD4666.8080903@redhat.com> Date: Mon, 20 Jan 2014 08:53:10 -0700 From: Eric Blake MIME-Version: 1.0 References: <1390227608-7225-1-git-send-email-cyliu@suse.com> <1390227608-7225-3-git-send-email-cyliu@suse.com> In-Reply-To: <1390227608-7225-3-git-send-email-cyliu@suse.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="0jgnPTpWwvOIxv9iBGb3deKS5UbgLkBni" Subject: Re: [Qemu-devel] [v19 02/25] qapi: output def_value_str when query command line options List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Chunyan Liu , qemu-devel@nongnu.org, stefanha@redhat.com, kwolf@redhat.com Cc: Dong Xu Wang This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0jgnPTpWwvOIxv9iBGb3deKS5UbgLkBni Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 01/20/2014 07:19 AM, Chunyan Liu wrote: > Change qapi interfaces to output the newly added def_value_str when que= ry > command line options. >=20 > Signed-off-by: Dong Xu Wang > Signed-off-by: Chunyan Liu > --- > +++ b/qapi-schema.json > @@ -3891,12 +3891,16 @@ > # > # @help: #optional human readable text string, not suitable for parsin= g. > # > -# Since 1.5 > +# @default: #optional string representation of the default used > +# if the option is omitted. > +# > +# Since 1.6 Not quite right. The overall type was still since 1.5, and only the new member is since 2.0 (not 1.6). It should look more like: # @default: #optional string representation of the default used if # the option is omitted (since 2.0) # # Since 1.5 But I like the idea. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --0jgnPTpWwvOIxv9iBGb3deKS5UbgLkBni 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/ iQEcBAEBCAAGBQJS3UZnAAoJEKeha0olJ0NqccoH/Rf55klvC4UXYvQ5guBVYEt9 SkyEjjbJdKGKKcgrdNMpK92pDXlMpil0WdK29ztRgXaF7aZdBCpep3CzZ7xTmca6 kIvfDJwyX0bMWB0bi5nU/HekfSQ8GxeUfX4WfTeE0Efh6l6jeSvPDtl6GYNtGhJZ j0Hhoarr/t8rptNlmnu9rAGMeMgskEVPS71RBEOGC1LpxTUByu5TpkHD88Jcmme7 uwhUESJK2dpQTSHeSfeuN+mWv9+cBGSs/n0x2VNHB47BrraDwDb5huw0bvatIz6s EJ8BRFAPgoMYcgW6tCi7wFA10B+dEzly2/SLDwmd7TGTToU3qC/jCJqAspxzNeg= =GK+n -----END PGP SIGNATURE----- --0jgnPTpWwvOIxv9iBGb3deKS5UbgLkBni--