mirror of
https://github.com/mii443/qemu.git
synced 2025-08-31 03:19:27 +00:00
qemu-img: Print available options with -o ?
This patch adds a small help text to each of the options in the block drivers which can be displayed by using qemu-img create -f fmt -o ? Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
@ -858,7 +858,11 @@ static void raw_flush(BlockDriverState *bs)
|
||||
|
||||
|
||||
static QEMUOptionParameter raw_create_options[] = {
|
||||
{ BLOCK_OPT_SIZE, OPT_SIZE },
|
||||
{
|
||||
.name = BLOCK_OPT_SIZE,
|
||||
.type = OPT_SIZE,
|
||||
.help = "Virtual disk size"
|
||||
},
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user