Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NWoYJ-0003DM-46 for qemu-devel@nongnu.org; Mon, 18 Jan 2010 05:09:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NWoYD-0003D3-BL for qemu-devel@nongnu.org; Mon, 18 Jan 2010 05:09:41 -0500 Received: from [199.232.76.173] (port=46366 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NWoYD-0003D0-36 for qemu-devel@nongnu.org; Mon, 18 Jan 2010 05:09:37 -0500 Received: from mx1.redhat.com ([209.132.183.28]:45547) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NWoYC-0003me-MG for qemu-devel@nongnu.org; Mon, 18 Jan 2010 05:09:36 -0500 From: Markus Armbruster Subject: Re: [Qemu-devel] [PATCH] Documentation: Add missing documentation for qdev related command line options References: <1263662384-1459-1-git-send-email-weil@mail.berlios.de> Date: Mon, 18 Jan 2010 11:09:24 +0100 In-Reply-To: <1263662384-1459-1-git-send-email-weil@mail.berlios.de> (Stefan Weil's message of "Sat, 16 Jan 2010 18:19:44 +0100") Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers Stefan Weil writes: > The command line options -device, -nodefaults, -readconfig, > -writeconfig had entries for command line help, but > documentation for texi and derived formats (man, html, info) > was missing. > > This also required moving "@end table" to the end of > qemu-options.hx again. > > Signed-off-by: Stefan Weil > --- > qemu-options.hx | 25 +++++++++++++++++++++---- > 1 files changed, 21 insertions(+), 4 deletions(-) > > diff --git a/qemu-options.hx b/qemu-options.hx > index e2edd71..b2d04e2 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -404,6 +404,12 @@ ETEXI > > DEF("device", HAS_ARG, QEMU_OPTION_device, > "-device driver[,options] add device\n") > +STEXI > +@item -device @var{driver}[,@var{option}[,...]] > +Add device @var{driver}. Depending on the device type, > +@var{option} (typically @var{key}=@var{value}) may be useful. > +ETEXI > + While there, would you mind improving --help for -device a bit? It's too terse, and it doesn't start the help text in column 16 like the other options do. > DEF("name", HAS_ARG, QEMU_OPTION_name, [...] > +STEXI > +@item -writeconfig @var{file} > +Write device configuration to @var{file}. > +ETEXI > + > +HXCOMM This is the last statement. Insert new options before this line! > +STEXI > +@end table > +ETEXI Neat, thanks!