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 <[email protected]> > --- > qemu-img.c | 150 ++++++++++++++++++++++++++--------------------------- > 1 file changed, 75 insertions(+), 75 deletions(-)
Reviewed-by: Daniel P. Berrangé <[email protected]> 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 :|
