Use hxtool for qemu-img command list

Use hxtool to generate the 'command syntax' section of qemu-img's help
message, and the corresponding section of the texinfo documentation.

This has the side-effect of adding 'check' to this list of commands in
the texinfo documentation.

Signed-off-by: Stuart Brady <stuart.brady@gmail.com>
This commit is contained in:
Stuart Brady 2009-06-07 00:42:17 +01:00 committed by Blue Swirl
parent 3a2eeac0c9
commit 153859be1a
5 changed files with 101 additions and 38 deletions

View file

@ -7,13 +7,8 @@ usage: qemu-img command [command options]
@c man begin OPTIONS
The following commands are supported:
@table @option
@item create [-F @var{base_fmt}] [-b @var{base_image}] [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
@item commit [-f @var{fmt}] @var{filename}
@item convert [-c] [-f @var{fmt}] [-O @var{output_fmt}] [-o @var{options}] [-B @var{output_base_image}] @var{filename} [@var{filename2} [...]] @var{output_filename}
@item info [-f @var{fmt}] @var{filename}
@item snapshot [-l | -a @var{snapshot} | -c @var{snapshot} | -d @var{snapshot}] @var{filename}
@end table
@include qemu-img-cmds.texi
Command parameters:
@table @var