* [PATCH v2] hmp: Add shortcut to stop command to match cont
@ 2021-10-30 9:49 BALATON Zoltan
2021-11-01 22:56 ` BALATON Zoltan
2021-11-02 9:30 ` Daniel P. Berrangé
0 siblings, 2 replies; 4+ messages in thread
From: BALATON Zoltan @ 2021-10-30 9:49 UTC (permalink / raw)
To: qemu-devel; +Cc: Dr. David Alan Gilbert
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>
---
c2: Fixed typo in commit title
hmp-commands.hx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hmp-commands.hx b/hmp-commands.hx
index cf723c69ac..07a738a8e2 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.21.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] hmp: Add shortcut to stop command to match cont
2021-10-30 9:49 [PATCH v2] hmp: Add shortcut to stop command to match cont BALATON Zoltan
@ 2021-11-01 22:56 ` BALATON Zoltan
2021-11-03 8:03 ` Laurent Vivier
2021-11-02 9:30 ` Daniel P. Berrangé
1 sibling, 1 reply; 4+ messages in thread
From: BALATON Zoltan @ 2021-11-01 22:56 UTC (permalink / raw)
To: qemu-devel; +Cc: qemu-trivial, Dr. David Alan Gilbert
Ping? This is really simple addition that sholdn't take long to review.
On Sat, 30 Oct 2021, BALATON Zoltan wrote:
> 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>
> ---
> c2: Fixed typo in commit title
>
> hmp-commands.hx | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/hmp-commands.hx b/hmp-commands.hx
> index cf723c69ac..07a738a8e2 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
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] hmp: Add shortcut to stop command to match cont
2021-10-30 9:49 [PATCH v2] hmp: Add shortcut to stop command to match cont BALATON Zoltan
2021-11-01 22:56 ` BALATON Zoltan
@ 2021-11-02 9:30 ` Daniel P. Berrangé
1 sibling, 0 replies; 4+ messages in thread
From: Daniel P. Berrangé @ 2021-11-02 9:30 UTC (permalink / raw)
To: BALATON Zoltan; +Cc: qemu-devel, Dr. David Alan Gilbert
On Sat, Oct 30, 2021 at 11:49:37AM +0200, BALATON Zoltan wrote:
> 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>
> ---
> c2: Fixed typo in commit title
>
> hmp-commands.hx | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] hmp: Add shortcut to stop command to match cont
2021-11-01 22:56 ` BALATON Zoltan
@ 2021-11-03 8:03 ` Laurent Vivier
0 siblings, 0 replies; 4+ messages in thread
From: Laurent Vivier @ 2021-11-03 8:03 UTC (permalink / raw)
To: BALATON Zoltan, qemu-devel
Cc: qemu-trivial, Daniel P. Berrange, Dr. David Alan Gilbert
Le 01/11/2021 à 23:56, BALATON Zoltan a écrit :
> Ping? This is really simple addition that sholdn't take long to review.
>
> On Sat, 30 Oct 2021, BALATON Zoltan wrote:
>> 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>
>> ---
>> c2: Fixed typo in commit title
>>
>> hmp-commands.hx | 4 ++--
>> 1 file changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/hmp-commands.hx b/hmp-commands.hx
>> index cf723c69ac..07a738a8e2 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
>>
>>
>
Applied to my trivial-patches branch.
I'll do a new PR before the hard freeze.
Thanks,
Laurent
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2021-11-03 8:06 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-30 9:49 [PATCH v2] hmp: Add shortcut to stop command to match cont BALATON Zoltan
2021-11-01 22:56 ` BALATON Zoltan
2021-11-03 8:03 ` Laurent Vivier
2021-11-02 9:30 ` Daniel P. Berrangé
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).