Commit cc481650 authored by Nathan Ciobanu's avatar Nathan Ciobanu Committed by Len Brown

tools/power turbostat: add single character tokens to help

Improve the help() output by adding the single character
tokens (e.g -a).
Signed-off-by: default avatarNathan Ciobanu <nathan.d.ciobanu@linux.intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 2ee19bde
...@@ -524,17 +524,20 @@ void help(void) ...@@ -524,17 +524,20 @@ void help(void)
"when COMMAND completes.\n" "when COMMAND completes.\n"
"If no COMMAND is specified, turbostat wakes every 5-seconds\n" "If no COMMAND is specified, turbostat wakes every 5-seconds\n"
"to print statistics, until interrupted.\n" "to print statistics, until interrupted.\n"
"--add add a counter\n" " -a, --add add a counter\n"
" eg. --add msr0x10,u64,cpu,delta,MY_TSC\n" " eg. --add msr0x10,u64,cpu,delta,MY_TSC\n"
"--cpu cpu-set limit output to summary plus cpu-set:\n" " -c, --cpu cpu-set limit output to summary plus cpu-set:\n"
" {core | package | j,k,l..m,n-p }\n" " {core | package | j,k,l..m,n-p }\n"
"--interval sec.subsec Override default 5-second measurement interval\n" " -i, --interval sec.subsec\n"
"--list list column headers only\n" " Override default 5-second measurement interval\n"
"--num_iterations num number of the measurement iterations\n" " -l, --list list column headers only\n"
"--out file create or truncate \"file\" for all output\n" " -n, --num_iterations num\n"
"--quiet skip decoding system configuration header\n" " number of the measurement iterations\n"
"--help print this help message\n" " -o, --out file\n"
"--version print version information\n" " create or truncate \"file\" for all output\n"
" -q, --quiet skip decoding system configuration header\n"
" -h, --help print this help message\n"
" -v, --version print version information\n"
"\n" "\n"
"For more help, run \"man turbostat\"\n"); "For more help, run \"man turbostat\"\n");
} }
......
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