From d2c639d6dc334a7de7c5b64caa6fc231d80084c5 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sat, 24 Jan 2009 18:19:25 +0000 Subject: Synch code, help and docs Rearrange code, help printout and docs so that they are in the same (hopefully more logical) order for easier maintenance. Add help and docs for undocumented options. Reformat slightly for more consistent help output. Add comments to encourage better synchronization in the future. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6432 c046a42c-6fe2-441c-8c8c-71466251a162 --- monitor.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'monitor.c') diff --git a/monitor.c b/monitor.c index 7ff98909b5..8815688c18 100644 --- a/monitor.c +++ b/monitor.c @@ -1429,6 +1429,7 @@ static void do_info_balloon(void) term_printf("balloon: actual=%d\n", (int)(actual >> 20)); } +/* Please update qemu-doc.texi when adding or changing commands */ static const term_cmd_t term_cmds[] = { { "help|?", "s?", do_help, "[cmd]", "show the help" }, @@ -1496,8 +1497,8 @@ static const term_cmd_t term_cmds[] = { "path [frequency bits channels]", "capture audio to a wave file (default frequency=44100 bits=16 channels=2)" }, #endif - { "stopcapture", "i", do_stop_capture, - "capture index", "stop capture" }, + { "stopcapture", "i", do_stop_capture, + "capture index", "stop capture" }, { "memsave", "lis", do_memory_save, "addr size file", "save to disk virtual memory dump starting at 'addr' of size 'size'", }, { "pmemsave", "lis", do_physical_memory_save, @@ -1520,9 +1521,10 @@ static const term_cmd_t term_cmds[] = { { NULL, NULL, }, }; +/* Please update qemu-doc.texi when adding or changing commands */ static const term_cmd_t info_cmds[] = { { "version", "", do_info_version, - "", "show the version of qemu" }, + "", "show the version of QEMU" }, { "network", "", do_info_network, "", "show the network state" }, { "chardev", "", qemu_chr_info, @@ -1554,9 +1556,9 @@ static const term_cmd_t info_cmds[] = { { "jit", "", do_info_jit, "", "show dynamic compiler info", }, { "kqemu", "", do_info_kqemu, - "", "show kqemu information", }, + "", "show KQEMU information", }, { "kvm", "", do_info_kvm, - "", "show kvm information", }, + "", "show KVM information", }, { "usb", "", usb_info, "", "show guest USB devices", }, { "usbhost", "", usb_host_info, -- cgit v1.2.1