qemu-img: Wean documentation and help output off '?' for help

'?' 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>
This commit is contained in:
Markus Armbruster 2022-09-08 15:08:42 +02:00 committed by Kevin Wolf
parent 8485563aa6
commit 7f118b433a
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ cases. See below for a description of the supported disk formats.
*OUTPUT_FMT* is the destination format. *OUTPUT_FMT* is the destination format.
*OPTIONS* is a comma separated list of format specific options in a *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. by the used format or see the format descriptions below for details.
*SNAPSHOT_PARAM* is param used for internal snapshot, format is *SNAPSHOT_PARAM* is param used for internal snapshot, format is

View File

@ -164,8 +164,8 @@ void help(void)
" 'output_filename' is the destination disk image filename\n" " 'output_filename' is the destination disk image filename\n"
" 'output_fmt' is the destination format\n" " 'output_fmt' is the destination format\n"
" 'options' is a comma separated list of format specific options in a\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" " name=value format. Use -o help for an overview of the options supported by\n"
" used format\n" " the used format\n"
" 'snapshot_param' is param used for internal snapshot, format\n" " 'snapshot_param' is param used for internal snapshot, format\n"
" is 'snapshot.id=[ID],snapshot.name=[NAME]', or\n" " is 'snapshot.id=[ID],snapshot.name=[NAME]', or\n"
" '[ID_OR_NAME]'\n" " '[ID_OR_NAME]'\n"