summaryrefslogtreecommitdiff
path: root/util/inteltool/inteltool.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2008-05-14 13:52:50 +0000
committerStefan Reinauer <stepan@openbios.org>2008-05-14 13:52:50 +0000
commitd466e6a8746c6dcdba8969618a3258093ae2392b (patch)
treedd49019f62cfc3fdbfff94c5ea94d099faeb178b /util/inteltool/inteltool.c
parente173f9904cc8623e81246b6a5a141021c19522b7 (diff)
downloadcoreboot-d466e6a8746c6dcdba8969618a3258093ae2392b.tar.xz
trivial patch to fix options. Thanks to Uwe Hermann for the hint!
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3311 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/inteltool/inteltool.c')
-rw-r--r--util/inteltool/inteltool.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/inteltool/inteltool.c b/util/inteltool/inteltool.c
index 943ebce048..cb6b962274 100644
--- a/util/inteltool/inteltool.c
+++ b/util/inteltool/inteltool.c
@@ -646,7 +646,7 @@ void print_version(void)
void print_usage(const char *name)
{
- printf("usage: %s [-vh?grpmedPM]\n", name);
+ printf("usage: %s [-vh?grpmedPMa]\n", name);
printf("\n"
" -v | --version: print the version\n"
" -h | --help: print this help\n\n"
@@ -658,6 +658,7 @@ void print_usage(const char *name)
" -d | --dmibar: dump northbridge DMIBAR registers\n"
" -P | --pciexpress: dump northbridge PCIEXBAR registers\n\n"
" -M | --msrs: dump CPU MSRs\n"
+ " -a | --all: dump all known registers\n"
"\n");
exit(1);
}
@@ -703,7 +704,7 @@ int main(int argc, char *argv[])
{ PCI_VENDOR_ID_INTEL, PCI_DEVICE_ID_INTEL_ICH, "ICH" }
};
- while ((opt = getopt_long(argc, argv, "vh?gmrpedPca",
+ while ((opt = getopt_long(argc, argv, "vh?grpmedPMa",
long_options, &option_index)) != EOF) {
switch (opt) {
case 'v':