Documentation: Highlight placeholders in suboptions

Currently, suboptions (i.e. something like file=file for -drive) are rendered
as @code, so we're losing any @var highlighting in the man pages.

Replace them by @option, so that you actually can see what is a placeholder and
what is meant verbatim.

Patchworks-ID: 35601
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
master
Kevin Wolf 2009-10-09 10:58:35 +02:00 committed by Anthony Liguori
parent c1671a0876
commit b3f046c296
1 changed files with 9 additions and 9 deletions

View File

@ -114,7 +114,7 @@ STEXI
Define a new drive. Valid options are: Define a new drive. Valid options are:
@table @code @table @option
@item file=@var{file} @item file=@var{file}
This option defines which disk image (@pxref{disk_images}) to use with This option defines which disk image (@pxref{disk_images}) to use with
this drive. If the filename contains comma, you must double it this drive. If the filename contains comma, you must double it
@ -363,7 +363,7 @@ STEXI
@item -usbdevice @var{devname} @item -usbdevice @var{devname}
Add the USB device @var{devname}. @xref{usb_devices}. Add the USB device @var{devname}. @xref{usb_devices}.
@table @code @table @option
@item mouse @item mouse
Virtual Mouse. This will override the PS/2 mouse emulation when activated. Virtual Mouse. This will override the PS/2 mouse emulation when activated.
@ -521,7 +521,7 @@ DEF("vga", HAS_ARG, QEMU_OPTION_vga,
STEXI STEXI
@item -vga @var{type} @item -vga @var{type}
Select type of VGA card to emulate. Valid values for @var{type} are Select type of VGA card to emulate. Valid values for @var{type} are
@table @code @table @option
@item cirrus @item cirrus
Cirrus Logic GD5446 Video card. All Windows versions starting from Cirrus Logic GD5446 Video card. All Windows versions starting from
Windows 95 should recognize and use this graphic card. For optimal Windows 95 should recognize and use this graphic card. For optimal
@ -568,7 +568,7 @@ tablet}). When using the VNC display, you must use the @option{-k}
parameter to set the keyboard layout if you are not using en-us. Valid parameter to set the keyboard layout if you are not using en-us. Valid
syntax for the @var{display} is syntax for the @var{display} is
@table @code @table @option
@item @var{host}:@var{d} @item @var{host}:@var{d}
@ -591,7 +591,7 @@ can be used to later start the VNC server.
Following the @var{display} value there may be one or more @var{option} flags Following the @var{display} value there may be one or more @var{option} flags
separated by commas. Valid options are separated by commas. Valid options are
@table @code @table @option
@item reverse @item reverse
@ -871,7 +871,7 @@ for a list of available devices for your target.
Use the user mode network stack which requires no administrator Use the user mode network stack which requires no administrator
privilege to run. Valid options are: privilege to run. Valid options are:
@table @code @table @option
@item vlan=@var{n} @item vlan=@var{n}
Connect user mode stack to VLAN @var{n} (@var{n} = 0 is the default). Connect user mode stack to VLAN @var{n} (@var{n} = 0 is the default).
@ -1115,7 +1115,7 @@ machines have none.
@anchor{bt-hcis} @anchor{bt-hcis}
The following three types are recognized: The following three types are recognized:
@table @code @table @option
@item -bt hci,null @item -bt hci,null
(default) The corresponding Bluetooth HCI assumes no internal logic (default) The corresponding Bluetooth HCI assumes no internal logic
and will not respond to any HCI commands or emit events. and will not respond to any HCI commands or emit events.
@ -1149,7 +1149,7 @@ Emulate a bluetooth device @var{dev} and place it in network @var{n}
(default @code{0}). QEMU can only emulate one type of bluetooth devices (default @code{0}). QEMU can only emulate one type of bluetooth devices
currently: currently:
@table @code @table @option
@item keyboard @item keyboard
Virtual wireless keyboard implementing the HIDP bluetooth profile. Virtual wireless keyboard implementing the HIDP bluetooth profile.
@end table @end table
@ -1225,7 +1225,7 @@ ports.
Use @code{-serial none} to disable all serial ports. Use @code{-serial none} to disable all serial ports.
Available character devices are: Available character devices are:
@table @code @table @option
@item vc[:WxH] @item vc[:WxH]
Virtual console. Optionally, a width and height can be given in pixel with Virtual console. Optionally, a width and height can be given in pixel with
@example @example