summaryrefslogtreecommitdiff
path: root/util/superiotool/superiotool.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2007-09-19 16:26:18 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2007-09-19 16:26:18 +0000
commite47495659080e136a405483a6cb4413dbcb09925 (patch)
tree2fd860367d22f28c2b8e10a201055d45911ca207 /util/superiotool/superiotool.h
parent7e7e9ac6078efb61ce7b531b084a410cb73e1b92 (diff)
downloadcoreboot-e47495659080e136a405483a6cb4413dbcb09925.tar.xz
Implement usage for --help and put the same information into the README, too.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2790 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/superiotool/superiotool.h')
-rw-r--r--util/superiotool/superiotool.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/superiotool/superiotool.h b/util/superiotool/superiotool.h
index 03592bbca2..7b6ef904ae 100644
--- a/util/superiotool/superiotool.h
+++ b/util/superiotool/superiotool.h
@@ -31,6 +31,14 @@
#define SUPERIOTOOL_VERSION "0.1"
+#define USAGE "Usage: superiotool [-d] [-V] [-v] [-h]\n\n\
+ -d | --dump Dump Super I/O registers\n\
+ -V | --verbose Verbose mode\n\
+ -v | --version Show the superiotool version\n\
+ -h | --help Show a short help text\n\n\
+Per default (no options) superiotool will just probe for a Super I/O\n\
+and print its vendor, name, ID, version, and config port.\n"
+
#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
#define EOT -1 /* End Of Table */