Skip to contentSkip to conversation

cpupower-frequency-info.1: fix long option name

PATCH Superseded Roberto Ricci 2 participants 3 messages Mar 11 CPU power monitoring

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/4 cpupower-frequency-info.1: fix long option name

The long version of the option is --performance, not --perf.

---
 tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/man/cpupower-frequency-info.1 +1 -1
index 47fdd7218748..1173d4f31e69 100644
@@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
 \fB\-n\fR \fB\-\-no-rounding\fR
 Output frequencies and latencies without rounding off values.
 .TP  
-\fB\-c\fR \fB\-\-perf\fR
+\fB\-c\fR \fB\-\-performance\fR
 Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
 .TP
 .SH "REMARKS"
Signature · 1 line
2.53.0
maintainer
#1 lore raw
Quoted 1 line · Roberto Ricci

The long version of the option is --performance, not --perf.

Okay - I need more than this than the cryptic change log Include options running the command

Quoted 11 lines
---
  tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/man/cpupower-frequency-info.1 +0 -0
index 47fdd7218748..1173d4f31e69 100644

tools/power/cpupower/man/cpupower-frequency-info.1 human\-readable output for the \-f, \-w, \-s and \-y parameters. · line 59

Quoted 8 lines
tools/power/cpupower/man/cpupower-frequency-info.1 +1 -1
@@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
  \fB\-n\fR \fB\-\-no-rounding\fR
  Output frequencies and latencies without rounding off values.
  .TP
-\fB\-c\fR \fB\-\-perf\fR
+\fB\-c\fR \fB\-\-performance\fR
  Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
  .TP
  .SH "REMARKS"

thanks,
-- Shuah

#2 lore raw

Re: [PATCH v2 2/4] cpupower-frequency-info.1: use proper name of --perf option

The cpupower-frequency-info(1) man page describes a '--perf' option. Even though this form is accepted by the program, its proper name is '--performance'.

cpufreq-info.c:

	{"performance", no_argument,	 NULL,	 'c'},

Fixes 8382dce5e4835c045f33b8958a5f559d212cdd11 ("cpupower: Add "perf" option to print AMD P-State information")

---
v1 -> v2: improved changelog
v1: https://lore.kernel.org/all/abHAdH-ggaxUugCy@desktop0a/

 tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/man/cpupower-frequency-info.1 +1 -1
index 47fdd7218748..1173d4f31e69 100644
@@ -53,7 +53,7 @@ human\-readable output for the \-f, \-w, \-s and \-y parameters.
 \fB\-n\fR \fB\-\-no-rounding\fR
 Output frequencies and latencies without rounding off values.
 .TP  
-\fB\-c\fR \fB\-\-perf\fR
+\fB\-c\fR \fB\-\-performance\fR
 Get performances and frequencies capabilities of CPPC, by reading it from hardware (only available on the hardware with CPPC).
 .TP
 .SH "REMARKS"
Signature · 1 line
2.53.0