Statistics
| Branch: | Revision:

root / qemu-img-cmds.hx @ 6b837bc4

History | View | Annotate | Download (1.7 kB)

1 153859be Stuart Brady
HXCOMM Use DEFHEADING() to define headings in both help text and texi
2 153859be Stuart Brady
HXCOMM Text between STEXI and ETEXI are copied to texi version and
3 153859be Stuart Brady
HXCOMM discarded from C version
4 153859be Stuart Brady
HXCOMM DEF(command, callback, arg_string) is used to construct
5 153859be Stuart Brady
HXCOMM command structures and help message.
6 153859be Stuart Brady
HXCOMM HXCOMM can be used for comments, discarded from both texi and C
7 153859be Stuart Brady
8 153859be Stuart Brady
STEXI
9 153859be Stuart Brady
@table @option
10 3c4c3210 Jan Kiszka
ETEXI
11 153859be Stuart Brady
12 153859be Stuart Brady
DEF("check", img_check,
13 153859be Stuart Brady
    "check [-f fmt] filename")
14 153859be Stuart Brady
STEXI
15 153859be Stuart Brady
@item check [-f @var{fmt}] @var{filename}
16 153859be Stuart Brady
ETEXI
17 153859be Stuart Brady
18 153859be Stuart Brady
DEF("create", img_create,
19 8063d0fe Kevin Wolf
    "create [-f fmt] [-o options] filename [size]")
20 153859be Stuart Brady
STEXI
21 8063d0fe Kevin Wolf
@item create [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
22 153859be Stuart Brady
ETEXI
23 153859be Stuart Brady
24 153859be Stuart Brady
DEF("commit", img_commit,
25 153859be Stuart Brady
    "commit [-f fmt] filename")
26 153859be Stuart Brady
STEXI
27 153859be Stuart Brady
@item commit [-f @var{fmt}] @var{filename}
28 153859be Stuart Brady
ETEXI
29 153859be Stuart Brady
30 153859be Stuart Brady
DEF("convert", img_convert,
31 6b837bc4 Jes Sorensen
    "convert [-c] [-p] [-f fmt] [-O output_fmt] [-o options] [-s snapshot_name] filename [filename2 [...]] output_filename")
32 153859be Stuart Brady
STEXI
33 51ef6727 edison
@item convert [-c] [-f @var{fmt}] [-O @var{output_fmt}] [-o @var{options}] [-s @var{snapshot_name}] @var{filename} [@var{filename2} [...]] @var{output_filename}
34 153859be Stuart Brady
ETEXI
35 153859be Stuart Brady
36 153859be Stuart Brady
DEF("info", img_info,
37 153859be Stuart Brady
    "info [-f fmt] filename")
38 153859be Stuart Brady
STEXI
39 153859be Stuart Brady
@item info [-f @var{fmt}] @var{filename}
40 153859be Stuart Brady
ETEXI
41 153859be Stuart Brady
42 153859be Stuart Brady
DEF("snapshot", img_snapshot,
43 153859be Stuart Brady
    "snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename")
44 153859be Stuart Brady
STEXI
45 153859be Stuart Brady
@item snapshot [-l | -a @var{snapshot} | -c @var{snapshot} | -d @var{snapshot}] @var{filename}
46 3e85c6fd Kevin Wolf
ETEXI
47 3e85c6fd Kevin Wolf
48 3e85c6fd Kevin Wolf
DEF("rebase", img_rebase,
49 6b837bc4 Jes Sorensen
    "rebase [-f fmt] [-p] [-u] -b backing_file [-F backing_fmt] filename")
50 3e85c6fd Kevin Wolf
STEXI
51 cb66ffcf Kevin Wolf
@item rebase [-f @var{fmt}] [-u] -b @var{backing_file} [-F @var{backing_fmt}] @var{filename}
52 ae6b0ed6 Stefan Hajnoczi
ETEXI
53 ae6b0ed6 Stefan Hajnoczi
54 ae6b0ed6 Stefan Hajnoczi
DEF("resize", img_resize,
55 ae6b0ed6 Stefan Hajnoczi
    "resize filename [+ | -]size")
56 ae6b0ed6 Stefan Hajnoczi
STEXI
57 5fb58b06 Stefan Weil
@item resize @var{filename} [+ | -]@var{size}
58 153859be Stuart Brady
@end table
59 153859be Stuart Brady
ETEXI