All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Vivier <laurent@vivier.eu>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org,
	"Daniel P . Berrangé" <berrange@redhat.com>,
	"Laurent Vivier" <laurent@vivier.eu>
Subject: [PULL 1/6] hmp: Add shortcut to stop command to match cont
Date: Tue,  9 Nov 2021 10:12:33 +0100	[thread overview]
Message-ID: <20211109091238.817997-2-laurent@vivier.eu> (raw)
In-Reply-To: <20211109091238.817997-1-laurent@vivier.eu>

From: BALATON Zoltan <balaton@eik.bme.hu>

Some commands such as quit or cont have one letter alternatives but
stop is missing that. Add stop|s to match cont|c for consistency and
convenience.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20211030095225.513D4748F48@zero.eik.bme.hu>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 hmp-commands.hx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hmp-commands.hx b/hmp-commands.hx
index 3a5aeba3fe8a..70a9136ac293 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -382,7 +382,7 @@ SRST
 ERST
 
     {
-        .name       = "stop",
+        .name       = "stop|s",
         .args_type  = "",
         .params     = "",
         .help       = "stop emulation",
@@ -390,7 +390,7 @@ ERST
     },
 
 SRST
-``stop``
+``stop`` or ``s``
   Stop emulation.
 ERST
 
-- 
2.31.1



  reply	other threads:[~2021-11-09  9:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-09  9:12 [PULL 0/6] Trivial branch for 6.2 patches Laurent Vivier
2021-11-09  9:12 ` Laurent Vivier [this message]
2021-11-09  9:12 ` [PULL 2/6] hw/m68k: Fix typo in SPDX tag Laurent Vivier
2021-11-09  9:12 ` [PULL 3/6] .mailmap: Fix more contributor entries Laurent Vivier
2021-11-09  9:12 ` [PULL 4/6] meson: Fix 'interpretor' typo Laurent Vivier
2021-11-09  9:12 ` [PULL 5/6] tests/qtest/virtio-net: fix hotplug test case Laurent Vivier
2021-11-09  9:12 ` [PULL 6/6] docs/about/deprecated: Remove empty 'related binaries' section Laurent Vivier
2021-11-09 12:14 ` [PULL 0/6] Trivial branch for 6.2 patches Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211109091238.817997-2-laurent@vivier.eu \
    --to=laurent@vivier.eu \
    --cc=berrange@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.