]> xenbits.xensource.com Git - osstest/qemu.git/commit
block: Add '--version' option to qemu-img
authorJeff Cody <jcody@redhat.com>
Mon, 28 Apr 2014 18:37:18 +0000 (14:37 -0400)
committerKevin Wolf <kwolf@redhat.com>
Tue, 29 Apr 2014 08:36:35 +0000 (10:36 +0200)
commit5f6979cba9f63480d38e9deb72b565c6781ac0e8
tree77517f8fef5b62393fa4897f354c0dfd9b8fe1e0
parentf0e973601250a3f1579ff77230c419c562958fa8
block: Add '--version' option to qemu-img

This allows qemu-img to print out version information, without
needing to print the long help wall of text.

While there, perform some minor whitespace cleanup, and remove the
unused option_index variable in the call to getopt_long().

Reported-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Jeff Cody <jcody@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qemu-img.c