summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-02-22 22:13:11 +0000
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2012-02-23 08:59:51 +0000
commit3b26486acd90186d64137a7f7e7d0cd3850a7303 (patch)
tree74e490c8f1eceeef0a7a9df7e126a2acb34f45d0
parenta97e45c8b825c5cbf1f0eefa08e1cfb97932d8bd (diff)
downloadhqemu-3b26486acd90186d64137a7f7e7d0cd3850a7303.zip
hqemu-3b26486acd90186d64137a7f7e7d0cd3850a7303.tar.gz
vl.c: Increase width of machine name column in "-M ?" output
Increase the width of the column used for the machine name in the "-M ?" output from 10 to 20 spaces. This fixes the formatting so it looks nice for architectures where a few of the machines have overly long names. (Our current longest machine name is "petalogix-s3adsp1800" with "realview-eb-mpcore" not far behind.) Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
-rw-r--r--vl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 7a8cc08..f211c71 100644
--- a/vl.c
+++ b/vl.c
@@ -1999,9 +1999,9 @@ static QEMUMachine *machine_parse(const char *name)
printf("Supported machines are:\n");
for (m = first_machine; m != NULL; m = m->next) {
if (m->alias) {
- printf("%-10s %s (alias of %s)\n", m->alias, m->desc, m->name);
+ printf("%-20s %s (alias of %s)\n", m->alias, m->desc, m->name);
}
- printf("%-10s %s%s\n", m->name, m->desc,
+ printf("%-20s %s%s\n", m->name, m->desc,
m->is_default ? " (default)" : "");
}
exit(!name || *name != '?');
OpenPOWER on IntegriCloud