From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LtIcC-0006gQ-PX for qemu-devel@nongnu.org; Mon, 13 Apr 2009 05:38:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LtIc7-0006fv-V7 for qemu-devel@nongnu.org; Mon, 13 Apr 2009 05:38:08 -0400 Received: from [199.232.76.173] (port=59010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LtIc7-0006fp-Dv for qemu-devel@nongnu.org; Mon, 13 Apr 2009 05:38:03 -0400 Received: from fmmailgate03.web.de ([217.72.192.234]:51105) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LtIc6-00044B-St for qemu-devel@nongnu.org; Mon, 13 Apr 2009 05:38:03 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 234D0FA5D3A6 for ; Mon, 13 Apr 2009 11:38:02 +0200 (CEST) Received: from [88.66.126.154] (helo=[192.168.1.123]) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #277) id 1LtIc4-0005cP-00 for qemu-devel@nongnu.org; Mon, 13 Apr 2009 11:38:01 +0200 Message-ID: <49E307F8.80306@web.de> Date: Mon, 13 Apr 2009 11:38:00 +0200 From: Jan Kiszka MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF18BFBC3942FE2EEB105224C" Sender: jan.kiszka@web.de Subject: [Qemu-devel] [PATCH] monitor: Update command help 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 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF18BFBC3942FE2EEB105224C Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable 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 --- monitor.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/monitor.c b/monitor.c index e764b5d..652d1f0 100644 --- a/monitor.c +++ b/monitor.c @@ -1640,7 +1640,7 @@ static const mon_cmd_t mon_cmds[] =3D { { "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 @@ static const mon_cmd_t mon_cmds[] =3D { { "log", "s", do_log, "item1[,...]", "activate logging of the specified items to '/tmp/q= emu.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 n= ew 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 @@ static const mon_cmd_t mon_cmds[] =3D { "", "resume emulation", }, #ifdef CONFIG_GDBSTUB { "gdbserver", "s?", do_gdbserver, - "[port]", "start gdbserver session (default port=3D1234)", }, + "[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 @@ static const mon_cmd_t mon_cmds[] =3D { "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=3D44100 bits=3D16= channels=3D2)" }, #endif { "stopcapture", "i", do_stop_capture, @@ -1738,8 +1738,8 @@ static const mon_cmd_t mon_cmds[] =3D { { "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" --------------enigF18BFBC3942FE2EEB105224C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAknjB/gACgkQniDOoMHTA+muJQCfe9fu34OdCDnbDsDznCRCnWRl CuAAnRirUArlkxmJZGFzdXWejtDyBl2j =gqxO -----END PGP SIGNATURE----- --------------enigF18BFBC3942FE2EEB105224C--