diff options
author | Joerg Mayer <jmpt@loplof.de> | 2012-08-23 23:29:49 +0200 |
---|---|---|
committer | Chris E Ferron <chris.e.ferron@linux.intel.com> | 2012-08-24 09:11:48 -0700 |
commit | b8af9381618d0ce5508685f75391cf0b6172a946 (patch) | |
tree | e0131cf92287919be2dcd7d096afb3e1f39ef9c8 | |
parent | 337455d6b3a13ab0be67ddcfa9d6a0ababb9cc53 (diff) |
Fix spelling of command line argument --quite to --quiet. Add a manpage entry for --quiet, which was missing.
Signed-off-by: Joerg Mayer <jmpt@loplof.de>
-rw-r--r-- | doc/powertop.8 | 3 | ||||
-rw-r--r-- | src/main.cpp | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/powertop.8 b/doc/powertop.8 index 8020d4e..8a70076 100644 --- a/doc/powertop.8 +++ b/doc/powertop.8 @@ -46,6 +46,9 @@ sent to others to help diagnose power issues. \fB\-\-iteration[\fR=\fIiterations\fR] number of times to run each test. .TP +\fB\-\-quiet + supress stderr output. +.TP \fB\-\-time[\fR=\fIseconds\fR] generate a report for a specified number of seconds. .TP diff --git a/src/main.cpp b/src/main.cpp index e5b51ee..bdb87cc 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -77,7 +77,7 @@ static const struct option long_options[] = {"time", optional_argument, NULL, 't'}, {"iteration", optional_argument, NULL, 'i'}, {"workload", optional_argument, NULL, 'w'}, - {"quite", optional_argument, NULL, 'q'}, + {"quiet", optional_argument, NULL, 'q'}, {NULL, 0, NULL, 0} }; @@ -112,7 +112,7 @@ static void print_usage() printf("--time%s \t %s\n",_("[=seconds]"), _("generate a report for 'x' seconds")); printf("--iteration%s\n", _("[=iterations] number of times to run each test")); printf("--workload%s \t %s\n", _("[=workload]"), _("file to execute for workload")); - printf("--quite \t %s\n", _("supress stderr output")); + printf("--quiet \t\t %s\n", _("supress stderr output")); printf("--help \t\t\t %s\n",_("print this help menu")); printf("\n"); printf("%s\n\n",_("For more help please refer to the README")); |