diff options
author | Jeff Cody <jcody@redhat.com> | 2014-04-28 14:37:18 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-04-29 10:36:35 +0200 |
commit | 5f6979cba9f63480d38e9deb72b565c6781ac0e8 (patch) | |
tree | 77517f8fef5b62393fa4897f354c0dfd9b8fe1e0 /blockdev.c | |
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>
Diffstat (limited to 'blockdev.c')
0 files changed, 0 insertions, 0 deletions