commit | 5f6979cba9f63480d38e9deb72b565c6781ac0e8 | [log] [tgz] |
---|---|---|
author | Jeff Cody <jcody@redhat.com> | Mon Apr 28 14:37:18 2014 -0400 |
committer | Kevin Wolf <kwolf@redhat.com> | Tue Apr 29 10:36:35 2014 +0200 |
tree | 77517f8fef5b62393fa4897f354c0dfd9b8fe1e0 | |
parent | f0e973601250a3f1579ff77230c419c562958fa8 [diff] |
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>