]> git.proxmox.com Git - mirror_qemu.git/commitdiff
qemu-img: Wean documentation and help output off '?' for help
authorMarkus Armbruster <armbru@redhat.com>
Thu, 8 Sep 2022 13:08:42 +0000 (15:08 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 30 Sep 2022 16:02:30 +0000 (18:02 +0200)
'?' for help is deprecated since commit c8057f951d "Support 'help' as
a synonym for '?' in command line options", v1.2.0.  We neglected to
update output of qemu-img --help and the manual.  Do that now.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20220908130842.641410-1-armbru@redhat.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
docs/tools/qemu-img.rst
qemu-img.c

index 85a6e05b350bcfb43745e353e370917c11562576..15aeddc6d8b32a5081d3d02f555eaa881a351c4c 100644 (file)
@@ -57,7 +57,7 @@ cases. See below for a description of the supported disk formats.
 *OUTPUT_FMT* is the destination format.
 
 *OPTIONS* is a comma separated list of format specific options in a
-name=value format. Use ``-o ?`` for an overview of the options supported
+name=value format. Use ``-o help`` for an overview of the options supported
 by the used format or see the format descriptions below for details.
 
 *SNAPSHOT_PARAM* is param used for internal snapshot, format is
index 7d4b33b3daa34b55b7908835b30777571bb3ca1d..cab9776f429fde04cca62f67d1a433cbbf80c5a1 100644 (file)
@@ -164,8 +164,8 @@ void help(void)
            "  '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"
+           "    name=value format. Use -o help for an overview of the options supported by\n"
+           "    the used format\n"
            "  'snapshot_param' is param used for internal snapshot, format\n"
            "    is 'snapshot.id=[ID],snapshot.name=[NAME]', or\n"
            "    '[ID_OR_NAME]'\n"