]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-io.c
qemu-io: Add missing option documentation
authorEric Blake <eblake@redhat.com>
Sun, 8 May 2016 03:16:40 +0000 (21:16 -0600)
committerMax Reitz <mreitz@redhat.com>
Thu, 12 May 2016 13:33:23 +0000 (15:33 +0200)
commite4e12bb26d9f2e2de02ff888063f41cc1e1b3935
tree1c23f1e37e181a02dcadab0b2066bd4293da30a0
parent7f82159769261419e0f3905cf758cfc4850bb26f
qemu-io: Add missing option documentation

The Usage: summary is missing several options, but rather than
having to maintain it, it's simpler to just state [OPTIONS],
since the options are spelled out below.

Commit 499afa2 added --image-opts, but forgot to document it in
--help.  Likewise for commit 9e8f183 and -d/--discard.

Commit e3aff4f6 put "-o/--offset" in the long opts, but it has
never been honored.

Add a note that '-n' is short for '-t none'.

Commit 9a2d77ad killed the -C option, but forgot to undocument
it for the 'open' subcommand.

Finally, commit 10d9d75 removed -g/--growable, but forgot to
cull it from the valid short options.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-id: 1462677405-4752-2-git-send-email-eblake@redhat.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
qemu-io.c