Skip to content

Commit f591c38

Browse files
andy-shevlenb
authored andcommitted
tools/power turbostat: remove unused command line option
The -s is not used, let's remove it, and update quick help accordingly. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 5c56be9 commit f591c38

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tools/power/x86/turbostat/turbostat.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ unsigned int verbose; /* set with -v */
4545
unsigned int rapl_verbose; /* set with -R */
4646
unsigned int rapl_joules; /* set with -J */
4747
unsigned int thermal_verbose; /* set with -T */
48-
unsigned int summary_only; /* set with -s */
48+
unsigned int summary_only; /* set with -S */
4949
unsigned int skip_c0;
5050
unsigned int skip_c1;
5151
unsigned int do_nhm_cstates;
@@ -2088,7 +2088,7 @@ void check_cpuid()
20882088

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

@@ -2377,7 +2377,7 @@ void cmdline(int argc, char **argv)
23772377

23782378
progname = argv[0];
23792379

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

0 commit comments

Comments
 (0)