Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvCaY-0003w9-Bj for qemu-devel@nongnu.org; Sat, 18 Apr 2009 11:36:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvCaX-0003vl-M5 for qemu-devel@nongnu.org; Sat, 18 Apr 2009 11:36:17 -0400 Received: from [199.232.76.173] (port=45680 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvCaX-0003vh-Gj for qemu-devel@nongnu.org; Sat, 18 Apr 2009 11:36:17 -0400 Received: from savannah.gnu.org ([199.232.41.3]:40164 helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvCaX-0005EL-0B for qemu-devel@nongnu.org; Sat, 18 Apr 2009 11:36:17 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1LvCaW-0006jr-8s for qemu-devel@nongnu.org; Sat, 18 Apr 2009 15:36:16 +0000 Received: from aliguori by cvs.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1LvCaW-0006jn-1t for qemu-devel@nongnu.org; Sat, 18 Apr 2009 15:36:16 +0000 MIME-Version: 1.0 Errors-To: aliguori Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From: Anthony Liguori Message-Id: Date: Sat, 18 Apr 2009 15:36:16 +0000 Subject: [Qemu-devel] [7180] monitor: Update command help (Jan Kiszka) Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Revision: 7180 http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=7180 Author: aliguori Date: 2009-04-18 15:36:15 +0000 (Sat, 18 Apr 2009) Log Message: ----------- 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 Signed-off-by: Anthony Liguori Modified Paths: -------------- trunk/monitor.c Modified: trunk/monitor.c =================================================================== --- trunk/monitor.c 2009-04-18 15:36:11 UTC (rev 7179) +++ trunk/monitor.c 2009-04-18 15:36:15 UTC (rev 7180) @@ -1640,7 +1640,7 @@ { "commit", "s", do_commit, "device|all", "commit changes to the disk images (if -snapshot is used) or backing files" }, { "info", "s?", do_info, - "subcommand", "show various information about the system state" }, + "[subcommand]", "show various information about the system state" }, { "q|quit", "", do_quit, "", "quit the emulator" }, { "eject", "-fB", do_eject, @@ -1654,7 +1654,7 @@ { "log", "s", do_log, "item1[,...]", "activate logging of the specified items to '/tmp/qemu.log'" }, { "savevm", "s?", do_savevm, - "tag|id", "save a VM snapshot. If no tag or id are provided, a new snapshot is created" }, + "[tag|id]", "save a VM snapshot. If no tag or id are provided, a new snapshot is created" }, { "loadvm", "s", do_loadvm, "tag|id", "restore a VM snapshot from its tag or id" }, { "delvm", "s", do_delvm, @@ -1667,7 +1667,7 @@ "", "resume emulation", }, #ifdef CONFIG_GDBSTUB { "gdbserver", "s?", do_gdbserver, - "[port]", "start gdbserver session (default port=1234)", }, + "[device]", "start gdbserver on given device (default 'tcp::1234'), stop with 'none'", }, #endif { "x", "/l", do_memory_dump, "/fmt addr", "virtual memory dump starting at 'addr'", }, @@ -1700,7 +1700,7 @@ "index", "set which mouse device receives events" }, #ifdef HAS_AUDIO { "wavcapture", "si?i?i?", do_wav_capture, - "path [frequency bits channels]", + "path [frequency [bits [channels]]]", "capture audio to a wave file (default frequency=44100 bits=16 channels=2)" }, #endif { "stopcapture", "i", do_stop_capture, @@ -1738,8 +1738,8 @@ { "balloon", "i", do_balloon, "target", "request VM to change it's memory allocation (in MB)" }, { "set_link", "ss", do_set_link, - "name [up|down]", "change the link status of a network adapter" }, - { "acl", "sss?i?", do_acl, " [] []\n", + "name up|down", "change the link status of a network adapter" }, + { "acl", "sss?i?", do_acl, " [ []]\n", "acl show vnc.username\n" "acl policy vnc.username deny\n" "acl allow vnc.username fred\n"