]> git.ipfire.org Git - thirdparty/qemu.git/commit
qemu-img: implement short --help, remove global help() function
authorMichael Tokarev <mjt@tls.msk.ru>
Sat, 31 May 2025 17:16:08 +0000 (20:16 +0300)
committerKevin Wolf <kwolf@redhat.com>
Tue, 15 Jul 2025 18:49:01 +0000 (20:49 +0200)
commitbf5647ae24f3a539eb40003f3d3db95b9484b978
tree902a99ce9a3a33f12e21dd61b7a65859a222bfee
parentd7d0e936f9d665622badf3913de8925581d8fa8c
qemu-img: implement short --help, remove global help() function

now once all individual subcommands has --help support, remove
the large unreadable help() thing and replace it with small
global --help, which refers to individual command --help for
more info.

While at it, also line-wrap list of formats after 75 chars.

Since missing_argument() and unrecognized_option() are now unused,
remove them.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20250531171609.197078-27-mjt@tls.msk.ru>
[kwolf: Fixed up style and formatting]
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c