diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-17 23:42:02 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2007-10-17 23:42:02 +0000 |
commit | d937b5243cea29a1144a5e25f768ee06684445f8 (patch) | |
tree | 5372bd17fcc91e86d0a1bc99f4ccab23a8950605 | |
parent | 7a90c14e9c4b61648e800bcea0a7c3a9f153c06b (diff) |
Print the version number always, not only in verbose mode.
We often want to know the exact version number of superiotool which
was used to gather a certain output/dump.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2871 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r-- | util/superiotool/superiotool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/superiotool/superiotool.c b/util/superiotool/superiotool.c index 7b5bb40f75..202daec151 100644 --- a/util/superiotool/superiotool.c +++ b/util/superiotool/superiotool.c @@ -196,8 +196,6 @@ int main(int argc, char *argv[]) dump_readable = 1; break; case 'V': - /* Print version in --verbose mode. */ - print_version(); verbose = 1; break; case 'v': @@ -221,6 +219,8 @@ int main(int argc, char *argv[]) exit(1); } + print_version(); + for (i = 0; i < ARRAY_SIZE(superio_ports_table); i++) { for (j = 0; superio_ports_table[i].ports[j] != EOT; j++) superio_ports_table[i].probe_idregs( |