aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBaruch Even <baruch@ev-en.org>2015-10-22 08:14:32 +0300
committerBaruch Even <baruch@ev-en.org>2015-10-22 08:14:32 +0300
commitfcdde59a5425986ff6f2b986a15f22f3f51b2041 (patch)
tree7c742458472fa5cff434e25af0f7cb70b00dbc48
parent2080c9a3dc53ad377f4e57fc4dacd50d9623f613 (diff)
downloadmcelog-fcdde59a5425986ff6f2b986a15f22f3f51b2041.tar.gz
Space out usage to allow visual grouping
-rw-r--r--mcelog.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/mcelog.c b/mcelog.c
index c887045..e96f199 100644
--- a/mcelog.c
+++ b/mcelog.c
@@ -921,15 +921,20 @@ void usage(void)
{
fprintf(stderr,
"Usage:\n"
+"\n"
" mcelog [options] [mcelogdevice]\n"
"Decode machine check error records from current kernel.\n"
+"\n"
" mcelog [options] --daemon\n"
"Run mcelog in daemon mode, waiting for errors from the kernel.\n"
+"\n"
" mcelog [options] --client\n"
"Query a currently running mcelog daemon for errors\n"
+"\n"
" mcelog [options] --ascii < log\n"
" mcelog [options] --ascii --file log\n"
"Decode machine check ASCII output from kernel logs\n"
+"\n"
"Options:\n"
"--version Show the version of mcelog and exit\n"
"--cpu CPU Set CPU type CPU to decode (see below for valid types)\n"
@@ -962,6 +967,7 @@ void usage(void)
"--is-cpu-supported Exit with return code indicating whether the CPU is supported\n"
);
diskdb_usage();
+ printf("\n");
print_cputypes();
exit(1);
}