Commit f591c38b authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Len Brown

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 5c56be9a
...@@ -45,7 +45,7 @@ unsigned int verbose; /* set with -v */ ...@@ -45,7 +45,7 @@ unsigned int verbose; /* set with -v */
unsigned int rapl_verbose; /* set with -R */ unsigned int rapl_verbose; /* set with -R */
unsigned int rapl_joules; /* set with -J */ unsigned int rapl_joules; /* set with -J */
unsigned int thermal_verbose; /* set with -T */ 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_c0;
unsigned int skip_c1; unsigned int skip_c1;
unsigned int do_nhm_cstates; unsigned int do_nhm_cstates;
...@@ -2088,7 +2088,7 @@ void check_cpuid() ...@@ -2088,7 +2088,7 @@ void check_cpuid()
void usage() 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); progname);
} }
...@@ -2377,7 +2377,7 @@ void cmdline(int argc, char **argv) ...@@ -2377,7 +2377,7 @@ void cmdline(int argc, char **argv)
progname = argv[0]; 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) { switch (opt) {
case 'p': case 'p':
show_core_only++; show_core_only++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment