summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2009-06-04 15:39:39 +0200
committerBlue Swirl <blauwirbel@gmail.com>2009-06-06 18:39:02 +0300
commiteff442662d953da980891bc028b944f118c511f2 (patch)
treedecd1ec329870b3a75f99c38e1ace354df0d77d1 /qemu-img.c
parentqemu-img: Print available options with -o ? (diff)
downloadqemu-kvm-eff442662d953da980891bc028b944f118c511f2.tar.gz
qemu-kvm-eff442662d953da980891bc028b944f118c511f2.tar.bz2
qemu-kvm-eff442662d953da980891bc028b944f118c511f2.zip
Document changes in qemu-img interface
Update the documentation to reflect the introduction of format specific options with -o. Don't advertise -e or -6 any more, they exist only for compatibility reasons and can be replaced by the corresponding -o options. Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img.c')
-rw-r--r--qemu-img.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/qemu-img.c b/qemu-img.c
index 947e71bea..aff398080 100644
--- a/qemu-img.c
+++ b/qemu-img.c
@@ -59,9 +59,9 @@ static void help(void)
"\n"
"Command syntax:\n"
" check [-f fmt] filename\n"
- " create [-e] [-6] [-F fmt] [-b base_image] [-f fmt] filename [size]\n"
+ " create [-F fmt] [-b base_image] [-f fmt] [-o options] filename [size]\n"
" commit [-f fmt] filename\n"
- " convert [-c] [-e] [-6] [-f fmt] [-O output_fmt] [-B output_base_image] filename [filename2 [...]] output_filename\n"
+ " convert [-c] [-f fmt] [-O output_fmt] [-o options] [-B output_base_image] filename [filename2 [...]] output_filename\n"
" info [-f fmt] filename\n"
" snapshot [-l | -a snapshot | -c snapshot | -d snapshot] filename\n"
"\n"
@@ -79,9 +79,10 @@ static void help(void)
" supported any 'k' or 'K' is ignored\n"
" 'output_filename' is the destination disk image filename\n"
" 'output_fmt' is the destination format\n"
+ " 'options' is a comma separated list of format specific options in a\n"
+ " name=value format. Use -o ? for an overview of the options supported by the\n"
+ " used format\n"
" '-c' indicates that target image must be compressed (qcow format only)\n"
- " '-e' indicates that the target image must be encrypted (qcow format only)\n"
- " '-6' indicates that the target image must use compatibility level 6 (vmdk format only)\n"
" '-h' with or without a command shows this help and lists the supported formats\n"
"\n"
"Parameters to snapshot subcommand:\n"