From db08adf526ce78eea7ae5f24e30b8caa1af4cf24 Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Thu, 4 Jun 2009 15:39:38 +0200 Subject: 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 --- block/vpc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'block/vpc.c') diff --git a/block/vpc.c b/block/vpc.c index 662a6f6cf8..ba482e9afb 100644 --- a/block/vpc.c +++ b/block/vpc.c @@ -594,7 +594,11 @@ static void vpc_close(BlockDriverState *bs) } static QEMUOptionParameter vpc_create_options[] = { - { "size", OPT_SIZE }, + { + .name = BLOCK_OPT_SIZE, + .type = OPT_SIZE, + .help = "Virtual disk size" + }, { NULL } }; -- cgit v1.2.3