Commit cd33feecb373cf49effce7f1524d356a38c66bef
1 parent
a3867ed2
monitor: Update command help (Jan Kiszka)
Align some monitor help texts to the related command parameter definitions. host_net_add is skipped intentionally, will be slightly reworked in a separate patch later. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7180 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
6 additions
and
6 deletions
monitor.c
... | ... | @@ -1640,7 +1640,7 @@ static const mon_cmd_t mon_cmds[] = { |
1640 | 1640 | { "commit", "s", do_commit, |
1641 | 1641 | "device|all", "commit changes to the disk images (if -snapshot is used) or backing files" }, |
1642 | 1642 | { "info", "s?", do_info, |
1643 | - "subcommand", "show various information about the system state" }, | |
1643 | + "[subcommand]", "show various information about the system state" }, | |
1644 | 1644 | { "q|quit", "", do_quit, |
1645 | 1645 | "", "quit the emulator" }, |
1646 | 1646 | { "eject", "-fB", do_eject, |
... | ... | @@ -1654,7 +1654,7 @@ static const mon_cmd_t mon_cmds[] = { |
1654 | 1654 | { "log", "s", do_log, |
1655 | 1655 | "item1[,...]", "activate logging of the specified items to '/tmp/qemu.log'" }, |
1656 | 1656 | { "savevm", "s?", do_savevm, |
1657 | - "tag|id", "save a VM snapshot. If no tag or id are provided, a new snapshot is created" }, | |
1657 | + "[tag|id]", "save a VM snapshot. If no tag or id are provided, a new snapshot is created" }, | |
1658 | 1658 | { "loadvm", "s", do_loadvm, |
1659 | 1659 | "tag|id", "restore a VM snapshot from its tag or id" }, |
1660 | 1660 | { "delvm", "s", do_delvm, |
... | ... | @@ -1667,7 +1667,7 @@ static const mon_cmd_t mon_cmds[] = { |
1667 | 1667 | "", "resume emulation", }, |
1668 | 1668 | #ifdef CONFIG_GDBSTUB |
1669 | 1669 | { "gdbserver", "s?", do_gdbserver, |
1670 | - "[port]", "start gdbserver session (default port=1234)", }, | |
1670 | + "[device]", "start gdbserver on given device (default 'tcp::1234'), stop with 'none'", }, | |
1671 | 1671 | #endif |
1672 | 1672 | { "x", "/l", do_memory_dump, |
1673 | 1673 | "/fmt addr", "virtual memory dump starting at 'addr'", }, |
... | ... | @@ -1700,7 +1700,7 @@ static const mon_cmd_t mon_cmds[] = { |
1700 | 1700 | "index", "set which mouse device receives events" }, |
1701 | 1701 | #ifdef HAS_AUDIO |
1702 | 1702 | { "wavcapture", "si?i?i?", do_wav_capture, |
1703 | - "path [frequency bits channels]", | |
1703 | + "path [frequency [bits [channels]]]", | |
1704 | 1704 | "capture audio to a wave file (default frequency=44100 bits=16 channels=2)" }, |
1705 | 1705 | #endif |
1706 | 1706 | { "stopcapture", "i", do_stop_capture, |
... | ... | @@ -1738,8 +1738,8 @@ static const mon_cmd_t mon_cmds[] = { |
1738 | 1738 | { "balloon", "i", do_balloon, |
1739 | 1739 | "target", "request VM to change it's memory allocation (in MB)" }, |
1740 | 1740 | { "set_link", "ss", do_set_link, |
1741 | - "name [up|down]", "change the link status of a network adapter" }, | |
1742 | - { "acl", "sss?i?", do_acl, "<command> <aclname> [<match>] [<index>]\n", | |
1741 | + "name up|down", "change the link status of a network adapter" }, | |
1742 | + { "acl", "sss?i?", do_acl, "<command> <aclname> [<match> [<index>]]\n", | |
1743 | 1743 | "acl show vnc.username\n" |
1744 | 1744 | "acl policy vnc.username deny\n" |
1745 | 1745 | "acl allow vnc.username fred\n" | ... | ... |