tools/power turbostat: Improve --help output
authorZhang Rui <rui.zhang@intel.com>
Tue, 3 Dec 2024 07:51:18 +0000 (15:51 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 3 Dec 2024 21:06:04 +0000 (16:06 -0500)
commitcc63f89ef9db70f74c563317d36028bb5e6196a1
tree371bdfec1b2a86b8e72d73b790bafe5511069d4c
parent48c62ba1b407140229e92f5cfae6ae113fc4af8e
tools/power turbostat: Improve --help output

Improve the `--help` output of turbostat by standardizing the format
and enhancing readability. The following changes are made to ensure
consistency and clarity in the help message:
1. Use a consistent pattern for each parameter's help message:
   - Display the parameter and its input (if any) on the same line,
     separated by a space.
   - Provide the detailed description on a separate line.
2. Ensure that the first character of each description is in lower-case.

These changes make the help output more uniform and easier to read,
helping users quickly understand the available options and their usage.

No functional change.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c