qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 01/23] qemu-img: pass current cmd info into command handlers


From: Daniel P . Berrangé
Subject: Re: [PATCH 01/23] qemu-img: pass current cmd info into command handlers
Date: Tue, 20 Feb 2024 17:29:04 +0000
User-agent: Mutt/2.2.12 (2023-09-09)

On Sat, Feb 10, 2024 at 12:22:22AM +0300, Michael Tokarev wrote:
> In order to be able to give correct --help output, pass current cmd
> information (img_cmd_t structure) to command handlers and to common
> error reporting functions. After the change, in case of command-line
> error, qemu-img will now print:
> 
>  Try 'qemu-img create --help' for more information.
> 
> Current cmd info will be useful in --help output as well.
> 
> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
> ---
>  qemu-img.c | 150 ++++++++++++++++++++++++++---------------------------
>  1 file changed, 75 insertions(+), 75 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>


With 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 :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]