* [PATCH] qemu-img: Consistent docs for convert -F
@ 2021-09-21 14:28 Eric Blake
2021-09-21 14:48 ` Vladimir Sementsov-Ogievskiy
2021-10-11 10:40 ` Hanna Reitz
0 siblings, 2 replies; 3+ messages in thread
From: Eric Blake @ 2021-09-21 14:28 UTC (permalink / raw)
To: qemu-devel; +Cc: Kevin Wolf, hreitz, vsementsov, qemu-block
Use consistent capitalization, and fix a missed line (we duplicate the
qemu-img synopses in too many places).
Fixes: 1899bf4737 (qemu-img: Add -F shorthand to convert)
Signed-off-by: Eric Blake <eblake@redhat.com>
---
docs/tools/qemu-img.rst | 2 +-
qemu-img-cmds.hx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/docs/tools/qemu-img.rst b/docs/tools/qemu-img.rst
index d58980aef83d..c0a444314679 100644
--- a/docs/tools/qemu-img.rst
+++ b/docs/tools/qemu-img.rst
@@ -415,7 +415,7 @@ Command description:
4
Error on reading data
-.. option:: convert [--object OBJECTDEF] [--image-opts] [--target-image-opts] [--target-is-zero] [--bitmaps [--skip-broken-bitmaps]] [-U] [-C] [-c] [-p] [-q] [-n] [-f FMT] [-t CACHE] [-T SRC_CACHE] [-O OUTPUT_FMT] [-B BACKING_FILE [-F backing_fmt]] [-o OPTIONS] [-l SNAPSHOT_PARAM] [-S SPARSE_SIZE] [-r RATE_LIMIT] [-m NUM_COROUTINES] [-W] FILENAME [FILENAME2 [...]] OUTPUT_FILENAME
+.. option:: convert [--object OBJECTDEF] [--image-opts] [--target-image-opts] [--target-is-zero] [--bitmaps [--skip-broken-bitmaps]] [-U] [-C] [-c] [-p] [-q] [-n] [-f FMT] [-t CACHE] [-T SRC_CACHE] [-O OUTPUT_FMT] [-B BACKING_FILE [-F BACKING_FMT]] [-o OPTIONS] [-l SNAPSHOT_PARAM] [-S SPARSE_SIZE] [-r RATE_LIMIT] [-m NUM_COROUTINES] [-W] FILENAME [FILENAME2 [...]] OUTPUT_FILENAME
Convert the disk image *FILENAME* or a snapshot *SNAPSHOT_PARAM*
to disk image *OUTPUT_FILENAME* using format *OUTPUT_FMT*. It can
diff --git a/qemu-img-cmds.hx b/qemu-img-cmds.hx
index 4c4d94ab2267..72bcdcfbfad9 100644
--- a/qemu-img-cmds.hx
+++ b/qemu-img-cmds.hx
@@ -48,7 +48,7 @@ ERST
DEF("convert", img_convert,
"convert [--object objectdef] [--image-opts] [--target-image-opts] [--target-is-zero] [--bitmaps] [-U] [-C] [-c] [-p] [-q] [-n] [-f fmt] [-t cache] [-T src_cache] [-O output_fmt] [-B backing_file [-F backing_fmt]] [-o options] [-l snapshot_param] [-S sparse_size] [-r rate_limit] [-m num_coroutines] [-W] [--salvage] filename [filename2 [...]] output_filename")
SRST
-.. option:: convert [--object OBJECTDEF] [--image-opts] [--target-image-opts] [--target-is-zero] [--bitmaps] [-U] [-C] [-c] [-p] [-q] [-n] [-f FMT] [-t CACHE] [-T SRC_CACHE] [-O OUTPUT_FMT] [-B BACKING_FILE] [-o OPTIONS] [-l SNAPSHOT_PARAM] [-S SPARSE_SIZE] [-r RATE_LIMIT] [-m NUM_COROUTINES] [-W] [--salvage] FILENAME [FILENAME2 [...]] OUTPUT_FILENAME
+.. option:: convert [--object OBJECTDEF] [--image-opts] [--target-image-opts] [--target-is-zero] [--bitmaps] [-U] [-C] [-c] [-p] [-q] [-n] [-f FMT] [-t CACHE] [-T SRC_CACHE] [-O OUTPUT_FMT] [-B BACKING_FILE [-F BACKING_FMT]] [-o OPTIONS] [-l SNAPSHOT_PARAM] [-S SPARSE_SIZE] [-r RATE_LIMIT] [-m NUM_COROUTINES] [-W] [--salvage] FILENAME [FILENAME2 [...]] OUTPUT_FILENAME
ERST
DEF("create", img_create,
--
2.31.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] qemu-img: Consistent docs for convert -F
2021-09-21 14:28 [PATCH] qemu-img: Consistent docs for convert -F Eric Blake
@ 2021-09-21 14:48 ` Vladimir Sementsov-Ogievskiy
2021-10-11 10:40 ` Hanna Reitz
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Sementsov-Ogievskiy @ 2021-09-21 14:48 UTC (permalink / raw)
To: Eric Blake, qemu-devel; +Cc: qemu-block, hreitz, Kevin Wolf
21.09.2021 17:28, Eric Blake wrote:
> Use consistent capitalization, and fix a missed line (we duplicate the
> qemu-img synopses in too many places).
>
> Fixes: 1899bf4737 (qemu-img: Add -F shorthand to convert)
> Signed-off-by: Eric Blake<eblake@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
--
Best regards,
Vladimir
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] qemu-img: Consistent docs for convert -F
2021-09-21 14:28 [PATCH] qemu-img: Consistent docs for convert -F Eric Blake
2021-09-21 14:48 ` Vladimir Sementsov-Ogievskiy
@ 2021-10-11 10:40 ` Hanna Reitz
1 sibling, 0 replies; 3+ messages in thread
From: Hanna Reitz @ 2021-10-11 10:40 UTC (permalink / raw)
To: Eric Blake, qemu-devel; +Cc: Kevin Wolf, vsementsov, qemu-block
On 21.09.21 16:28, Eric Blake wrote:
> Use consistent capitalization, and fix a missed line (we duplicate the
> qemu-img synopses in too many places).
>
> Fixes: 1899bf4737 (qemu-img: Add -F shorthand to convert)
> Signed-off-by: Eric Blake <eblake@redhat.com>
> ---
> docs/tools/qemu-img.rst | 2 +-
> qemu-img-cmds.hx | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
Thanks, applied to my block branch:
https://gitlab.com/hreitz/qemu/-/commits/block
Speaking of duplicating in too many places, comparing the lines in
qemu-img.rst and qemu-img-cmds.hx I noticed that `--skip-broken-bitmaps`
too is missing from qemu-img-cmds.hx, so perhaps that’s also something
we want to fix.
Hanna
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-10-11 10:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-21 14:28 [PATCH] qemu-img: Consistent docs for convert -F Eric Blake
2021-09-21 14:48 ` Vladimir Sementsov-Ogievskiy
2021-10-11 10:40 ` Hanna Reitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).