summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2021-10-30 11:49:37 +0200
committerLaurent Vivier <laurent@vivier.eu>2021-11-09 10:11:27 +0100
commitde4cf848b19e32fa59ee4dc908de49d5b282152b (patch)
tree07db032ed3192af2c15f6afc460a14c88ff982da
parentf10e7b9f6fc18be390b3bc189e04b5147eb8dbf8 (diff)
downloadqemu-de4cf848b19e32fa59ee4dc908de49d5b282152b.zip
hmp: Add shortcut to stop command to match cont
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>
-rw-r--r--hmp-commands.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/hmp-commands.hx b/hmp-commands.hx
index 3a5aeba3fe..70a9136ac2 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