]> git.proxmox.com Git - mirror_qemu.git/commit - qemu-img.c
qemu-img: move common options parsing before commands processing
authorDenis V. Lunev <den@openvz.org>
Fri, 17 Jun 2016 14:44:13 +0000 (17:44 +0300)
committerStefan Hajnoczi <stefanha@redhat.com>
Tue, 28 Jun 2016 20:14:12 +0000 (21:14 +0100)
commit10985131e337a0c52c5bd1e191fd7867a6ff8d02
tree55ff1e5b80a9524fe138126e948396645353eee7
parent39ca463e81d102c08012f922cba8b784558eee81
qemu-img: move common options parsing before commands processing

This is necessary to enable creation of common qemu-img options which will
be specified before command.

The patch also enables '-V' alias to '--version' (exactly like in other
block utilities) and documents this change.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1466174654-30130-7-git-send-email-den@openvz.org
CC: Paolo Bonzini <pbonzini@redhat.com>
CC: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
qemu-img.c
qemu-img.texi