xref: /Universal-ctags/Units/parser-qemuhx.r/enable.d/input.hx (revision e5798119d3f7c3324a161f1daf8786478889e47d)
1HXCOMM Use DEFHEADING() to define headings in both help text and texi
2HXCOMM Text between STEXI and ETEXI are copied to texi version and
3HXCOMM discarded from C version
4HXCOMM DEF(command, args, callback, arg_string, help) is used to construct
5HXCOMM monitor commands
6HXCOMM HXCOMM can be used for comments, discarded from both texi and C
7
8STEXI
9@table @option
10ETEXI
11
12    {
13        .name       = "help|?",
14        .args_type  = "name:s?",
15        .params     = "[cmd]",
16        .help       = "show the help",
17        .mhandler.cmd = do_help_cmd,
18    },
19
20STEXI
21@item help or ? [@var{cmd}]
22@findex help
23Show the help for all commands or just for command @var{cmd}.
24ETEXI
25
26DEF("version", 0, QEMU_OPTION_version,
27    "-version        display version information and exit\n", QEMU_ARCH_ALL)
28STEXI
29@item -version
30@findex -version
31Display version information and exit
32ETEXI
33
34DEF("check", img_check,
35    "check [-q] [-f fmt] [--output=ofmt] [-r [leaks | all]] [-T src_cache] filename")
36STEXI
37@item check [-q] [-f @var{fmt}] [--output=@var{ofmt}] [-r [leaks | all]] [-T @var{src_cache}] @var{filename}
38ETEXI
39
40DEF("create", img_create,
41    "create [-q] [-f fmt] [-o options] filename [size]")
42STEXI
43@item create [-q] [-f @var{fmt}] [-o @var{options}] @var{filename} [@var{size}]
44ETEXI
45
46SQMP
47quit
48----
49
50Quit the emulator.
51
52Arguments: None.
53
54Example:
55
56-> { "execute": "quit" }
57<- { "return": {} }
58
59EQMP
60