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
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user