diff options
author | Mike Day <ncmike@ncultra.org> | 2014-05-05 12:53:34 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-09 13:32:16 +0200 |
commit | 1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3 (patch) | |
tree | 26491eb7170038c778ce22cf4cc3475a05626aa4 /main-loop.c | |
parent | f915db07ef9c368ea6db6430256de064fdd1525f (diff) | |
download | qemu-1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3.zip qemu-1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3.tar.gz qemu-1a443c1b8b4314d365e82bddeb1de5b4b1c15fb3.tar.bz2 |
qemu-img: sort block formats in help message
The help message for qemu-img lists the supported block formats, of
which there are 27 as of version 2.0.50. The formats are printed in
the order of their driver's position in a linked list, which appears
random. This patch prints the formats in sorted order, making it
easier to read and to find a specific format in the list.
[Added suggestions from Fam Zheng <famz@redhat.com> to declare variables
at the top of the scope in help() and to omit explicit cast for void*
opaque.
--Stefan]
Signed-off-by: Mike Day <ncmike@ncultra.org>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'main-loop.c')
0 files changed, 0 insertions, 0 deletions