Re: [PATCH 06/28] qemu-img: create: refresh options/--help

2024-02-26 Thread Michael Tokarev
26.02.2024 17:34, Daniel P. Berrangé wrote: On Thu, Feb 22, 2024 at 12:15:47AM +0300, Michael Tokarev wrote: For the global help there's an extra '\n' after 'Usage'. It would be good go be consistent in this between global and per-command help. $ ./build/qemu-img --help qemu-img version 8.2.5

Re: [PATCH 06/28] qemu-img: create: refresh options/--help

2024-02-26 Thread Daniel P . Berrangé
On Thu, Feb 22, 2024 at 12:15:47AM +0300, Michael Tokarev wrote: > Create helper function cmd_help() to display command-specific > help text, and use it to print --help for 'create' subcommand. > > Add missing long options (eg --format) in img_create(). > > Remove usage of missing_argument()/unre

[PATCH 06/28] qemu-img: create: refresh options/--help

2024-02-21 Thread Michael Tokarev
Create helper function cmd_help() to display command-specific help text, and use it to print --help for 'create' subcommand. Add missing long options (eg --format) in img_create(). Remove usage of missing_argument()/unrecognized_option() in img_create(). Signed-off-by: Michael Tokarev --- qemu