summaryrefslogtreecommitdiffstats
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorJohn Snow2018-05-04 00:56:47 +0200
committerMichael Tokarev2018-05-20 07:36:42 +0200
commit9775fcdb11ab425cc3537ebe95dcf818bedfc954 (patch)
treeef7094186cc6b3005b0625ef18a2d77deef90e78 /qemu-img-cmds.hx
parentqemu-img: remove references to GEN_DOCS (diff)
downloadqemu-9775fcdb11ab425cc3537ebe95dcf818bedfc954.tar.gz
qemu-9775fcdb11ab425cc3537ebe95dcf818bedfc954.tar.xz
qemu-9775fcdb11ab425cc3537ebe95dcf818bedfc954.zip
qemu-img: Make documentation between .texi and .hx consistent
These are also different and out of order for whatever reason. I'd like to automate this in the future, but for now let's put on the band-aid. In the case of resize, there were options missing from all three docstrings; the new string is based on the code. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Jeff Cody <jcody@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-img-cmds.hx')
-rw-r--r--qemu-img-cmds.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index 8bcefcafe9..84deb858af 100644
--- a/qemu-img-cmds.hx
+++ b/qemu-img-cmds.hx
@@ -89,9 +89,9 @@ STEXI
ETEXI
DEF("resize", img_resize,
- "resize [--object objectdef] [--image-opts] [-q] [--shrink] filename [+ | -]size")
+ "resize [--object objectdef] [--image-opts] [-f fmt] [--preallocation=prealloc] [-q] [--shrink] filename [+ | -]size")
STEXI
-@item resize [--object @var{objectdef}] [--image-opts] [-q] [--shrink] @var{filename} [+ | -]@var{size}
+@item resize [--object @var{objectdef}] [--image-opts] [-f @var{fmt}] [--preallocation=@var{prealloc}] [-q] [--shrink] @var{filename} [+ | -]@var{size}
ETEXI
STEXI