Skip to content
Browse files

Fix spelling of command line argument --quite to --quiet. Add a manpa…

…ge entry for --quiet, which was missing.

Signed-off-by: Joerg Mayer <jmpt@loplof.de>
  • Loading branch information...
1 parent 337455d commit b8af9381618d0ce5508685f75391cf0b6172a946 Joerg Mayer committed with ceferron
Showing with 5 additions and 2 deletions.
  1. +3 −0 doc/powertop.8
  2. +2 −2 src/main.cpp
View
3 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
View
4 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"));

0 comments on commit b8af938

Please sign in to comment.
Something went wrong with that request. Please try again.