From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34500) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEbZb-0001A0-U2 for qemu-devel@nongnu.org; Wed, 28 Aug 2013 04:58:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VEbZS-0000Aq-KF for qemu-devel@nongnu.org; Wed, 28 Aug 2013 04:57:55 -0400 Received: from e8.ny.us.ibm.com ([32.97.182.138]:49996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VEbZS-0000Al-Eg for qemu-devel@nongnu.org; Wed, 28 Aug 2013 04:57:46 -0400 Received: from /spool/local by e8.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 28 Aug 2013 09:57:46 +0100 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id 41DAF38C8045 for ; Wed, 28 Aug 2013 04:57:42 -0400 (EDT) Received: from d01av02.pok.ibm.com (d01av02.pok.ibm.com [9.56.224.216]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id r7S8vheU164976 for ; Wed, 28 Aug 2013 04:57:44 -0400 Received: from d01av02.pok.ibm.com (loopback [127.0.0.1]) by d01av02.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id r7S8vhRK014026 for ; Wed, 28 Aug 2013 05:57:43 -0300 Message-ID: <521DBB84.30503@linux.vnet.ibm.com> Date: Wed, 28 Aug 2013 16:57:40 +0800 From: Dong Xu Wang MIME-Version: 1.0 References: <1376368326-7433-1-git-send-email-wdongxu@linux.vnet.ibm.com> <1376368326-7433-25-git-send-email-wdongxu@linux.vnet.ibm.com> <20130827141243.GM648@dhcp-200-207.str.redhat.com> <521D327D.9040205@redhat.com> In-Reply-To: <521D327D.9040205@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V18 24/25] qapi: query-command-line-options outputs def_value_str List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: Kevin Wolf , wdongxu@cn.ibm.com, qemu-devel@nongnu.org, stefanha@redhat.com On 2013/8/28 7:13, Eric Blake wrote: > On 08/27/2013 08:12 AM, Kevin Wolf wrote: >> Am 13.08.2013 um 06:32 hat Dong Xu Wang geschrieben: >>> QMP command query-command-line-options shows details information of >>> parameters, since added def_value_str, also output it in the QMP >>> command. >>> >>> v16->v17: >>> 1) add "Since 1.6" tag. >>> 2) rename def_str_value to "default". > >>> +++ b/qapi-schema.json >>> @@ -3630,12 +3630,16 @@ >>> # >>> # @help: #optional human readable text string, not suitable for parsing. >>> # >>> -# Since 1.5 >>> +# @default: #optional string representation of the default used >>> +# if the option is omitted. >>> +# >>> +# Since 1.6 >> >> The "Since 1.6" belongs to the @default field only. The command as a >> whole is still "Since 1.5". > > Further, 1.6 is already released, so this should now be: > > @default #optional string representation of the default used if > the option is omitted (since 1.7). Okay, the description is precise. Thanks :) >