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
This commit is contained in:
parent
7a90c14e9c
commit
d937b5243c
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue