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

From: Shuah Khan

Date: Tue Mar 24 2026 - 19:12:07 EST


On 3/24/26 17:06, Shuah Khan wrote:
On 3/24/26 16:39, Roberto Ricci wrote:
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'},

Signed-off-by: Roberto Ricci <io@xxxxxxxxxx>
---
  tools/power/cpupower/man/cpupower-frequency-info.1 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/power/cpupower/man/cpupower-frequency-info.1 b/tools/power/cpupower/man/cpupower-frequency-info.1
index 47fdd7218748..1173d4f31e69 100644
--- a/tools/power/cpupower/man/cpupower-frequency-info.1
+++ b/tools/power/cpupower/man/cpupower-frequency-info.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

I would keep perf and also add performance since --perf and --performance
work - it is lot easier to type --perf

You can send just this one patch unless there are dependencies with
others.

thanks,
-- Shuah