summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/superiotool/superiotool.c4
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(