Received: from eggs.gnu.org ([2001:4830:134:3::10]:50889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZuhx-0004xm-Ge for qemu-devel@nongnu.org; Wed, 17 Aug 2016 02:52:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZuhr-0005FC-Lv for qemu-devel@nongnu.org; Wed, 17 Aug 2016 02:52:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZuhr-0005F7-GD for qemu-devel@nongnu.org; Wed, 17 Aug 2016 02:52:07 -0400 From: Markus Armbruster References: <20160816171352.17021-1-lma@suse.com> <57B446440200006200090019@prv-mh.provo.novell.com> Date: Wed, 17 Aug 2016 08:52:03 +0200 In-Reply-To: <57B446440200006200090019@prv-mh.provo.novell.com> (Lin Ma's message of "Tue, 16 Aug 2016 21:11:00 -0600") Message-ID: <878tvvvqek.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] =?utf-8?b?562U5aSN77yaIFJlOiAgW1BBVENIXSBjaGFyZGV2?= =?utf-8?q?=3A_Add_=27help=27_option_to_print_all_available_chardev_backen?= =?utf-8?q?d_types?= List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Lin Ma Cc: =?utf-8?Q?Marc-Andr=C3=A9_Lureau?= , qemu-devel@nongnu.org, pbonzini@redhat.com "Lin Ma" writes: >>>> Marc-Andr=C3=A9 Lureau 8/17/2016 1:25 =E4= =B8=8A=E5=8D=88 >>> [...] >>How different is it from the list in qemu -help ? Why duplicate that list >>with less informations (arguments and details) ? Do you expect it to be >>easily machine readable? >> > No special reason, Just add 'help' option to make it more friendly, like = the > output of '-watchdog help' or '-tpmdev help', Sometimes I forget the char= dev > backend names which I want to try, I'd like to have a very easy&fast way = to > get the backend list :-). >=20=20 > Various backends have various arguments, Printing all of them causes the > complex output, that was my thought before I send the patch. > Now...yes, it makes sense that including the arguments in output, I can a= dd > them if the patch's idea is acceptable. You could do it like -device / device_add: argument help lists types, and argument T,help shows additional help for type T.