Skip to content

Commit

Permalink
tools/power turbostat: remove unused command line option
Browse files Browse the repository at this point in the history
The -s is not used, let's remove it, and update quick help accordingly.

Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
andy-shev authored and lenb committed Feb 1, 2014
1 parent 5c56be9 commit f591c38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ unsigned int verbose; /* set with -v */
unsigned int rapl_verbose; /* set with -R */
unsigned int rapl_joules; /* set with -J */
unsigned int thermal_verbose; /* set with -T */
unsigned int summary_only; /* set with -s */
unsigned int summary_only; /* set with -S */
unsigned int skip_c0;
unsigned int skip_c1;
unsigned int do_nhm_cstates;
Expand Down Expand Up @@ -2088,7 +2088,7 @@ void check_cpuid()

void usage()
{
errx(1, "%s: [-v][-R][-T][-p|-P|-S][-c MSR# | -s]][-C MSR#][-m MSR#][-M MSR#][-i interval_sec | command ...]\n",
errx(1, "%s: [-v][-R][-T][-p|-P|-S][-c MSR#][-C MSR#][-m MSR#][-M MSR#][-i interval_sec | command ...]\n",
progname);
}

Expand Down Expand Up @@ -2377,7 +2377,7 @@ void cmdline(int argc, char **argv)

progname = argv[0];

while ((opt = getopt(argc, argv, "+pPSvi:sc:sC:m:M:RJT:")) != -1) {
while ((opt = getopt(argc, argv, "+pPSvi:c:C:m:M:RJT:")) != -1) {
switch (opt) {
case 'p':
show_core_only++;
Expand Down

0 comments on commit f591c38

Please sign in to comment.