[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 :|
- [PATCH 00/23] qemu-img: refersh options and --help handling, Michael Tokarev, 2024/02/09
- [PATCH 01/23] qemu-img: pass current cmd info into command handlers, Michael Tokarev, 2024/02/09
- Re: [PATCH 01/23] qemu-img: pass current cmd info into command handlers,
Daniel P . Berrangé <=
- [PATCH 02/23] qemu-img: refresh options/--help for "create" subcommand, Michael Tokarev, 2024/02/09
- [PATCH 03/23] qemu-img: factor out parse_output_format() and use it in the code, Michael Tokarev, 2024/02/09
- [PATCH 04/23] qemu-img: refresh options/--help for "check" command, Michael Tokarev, 2024/02/09
- [PATCH 05/23] qemu-img: simplify --repair error message, Michael Tokarev, 2024/02/09
- [PATCH 06/23] qemu-img: refresh options/--help for "commit" command, Michael Tokarev, 2024/02/09
- [PATCH 07/23] qemu-img: refresh options/--help for "compare" command, Michael Tokarev, 2024/02/09
- [PATCH 08/23] qemu-img: refresh options/--help for "convert" command, Michael Tokarev, 2024/02/09