See patch.
Uwe. -- http://www.hermann-uwe.de | http://www.holsham-traders.de http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
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 <[EMAIL PROTECTED]>
Index: superiotool.c
===================================================================
--- superiotool.c (Revision 2854)
+++ superiotool.c (Arbeitskopie)
@@ -196,8 +196,6 @@
dump_readable = 1;
break;
case 'V':
- /* Print version in --verbose mode. */
- print_version();
verbose = 1;
break;
case 'v':
@@ -221,6 +219,8 @@
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(
signature.asc
Description: Digital signature
-- linuxbios mailing list [email protected] http://www.linuxbios.org/mailman/listinfo/linuxbios
