* [PATCH 1/4] cpupower-idle-info.1: fix short option names
@ 2026-03-11 19:20 Roberto Ricci
2026-03-11 20:41 ` Shuah Khan
0 siblings, 1 reply; 4+ messages in thread
From: Roberto Ricci @ 2026-03-11 19:20 UTC (permalink / raw)
To: Thomas Renninger, Shuah Khan, John B. Wyatt IV, John Kacur,
linux-pm, linux-kernel
The short version of --silent is -s, not -f.
The short version of --proc is -o, not -e.
Signed-off-by: Roberto Ricci <io@r-ricci.it>
---
tools/power/cpupower/man/cpupower-idle-info.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/power/cpupower/man/cpupower-idle-info.1 b/tools/power/cpupower/man/cpupower-idle-info.1
index 20b6345c53ad..b2f92aba5f5b 100644
--- a/tools/power/cpupower/man/cpupower-idle-info.1
+++ b/tools/power/cpupower/man/cpupower-idle-info.1
@@ -11,10 +11,10 @@ A tool which prints out per cpu idle information helpful to developers and inter
.SH "OPTIONS"
.LP
.TP
-\fB\-f\fR \fB\-\-silent\fR
+\fB\-s\fR \fB\-\-silent\fR
Only print a summary of all available C-states in the system.
.TP
-\fB\-e\fR \fB\-\-proc\fR
+\fB\-o\fR \fB\-\-proc\fR
deprecated.
Prints out idle information in old /proc/acpi/processor/*/power format. This
interface has been removed from the kernel for quite some time, do not let
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/4] cpupower-idle-info.1: fix short option names
2026-03-11 19:20 [PATCH 1/4] cpupower-idle-info.1: fix short option names Roberto Ricci
@ 2026-03-11 20:41 ` Shuah Khan
2026-03-11 23:32 ` [PATCH v2 " Roberto Ricci
0 siblings, 1 reply; 4+ messages in thread
From: Shuah Khan @ 2026-03-11 20:41 UTC (permalink / raw)
To: Roberto Ricci, Thomas Renninger, Shuah Khan, John B. Wyatt IV,
John Kacur, linux-pm, linux-kernel, Shuah Khan
On 3/11/26 13:20, Roberto Ricci wrote:
> The short version of --silent is -s, not -f.
> The short version of --proc is -o, not -e.
Okay - I need more than this than the cryptic change log
Include options running the command
>
> Signed-off-by: Roberto Ricci <io@r-ricci.it>
> ---
> tools/power/cpupower/man/cpupower-idle-info.1 | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/power/cpupower/man/cpupower-idle-info.1 b/tools/power/cpupower/man/cpupower-idle-info.1
> index 20b6345c53ad..b2f92aba5f5b 100644
> --- a/tools/power/cpupower/man/cpupower-idle-info.1
> +++ b/tools/power/cpupower/man/cpupower-idle-info.1
> @@ -11,10 +11,10 @@ A tool which prints out per cpu idle information helpful to developers and inter
> .SH "OPTIONS"
> .LP
> .TP
> -\fB\-f\fR \fB\-\-silent\fR
> +\fB\-s\fR \fB\-\-silent\fR
> Only print a summary of all available C-states in the system.
> .TP
> -\fB\-e\fR \fB\-\-proc\fR
> +\fB\-o\fR \fB\-\-proc\fR
> deprecated.
> Prints out idle information in old /proc/acpi/processor/*/power format. This
> interface has been removed from the kernel for quite some time, do not let
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/4] cpupower-idle-info.1: fix short option names
2026-03-11 20:41 ` Shuah Khan
@ 2026-03-11 23:32 ` Roberto Ricci
2026-03-12 0:39 ` Shuah Khan
0 siblings, 1 reply; 4+ messages in thread
From: Roberto Ricci @ 2026-03-11 23:32 UTC (permalink / raw)
To: Shuah Khan
Cc: Thomas Renninger, John B. Wyatt IV, John Kacur, linux-pm,
linux-kernel
The cpupower-idle-info(1) man page describes '-f' as the short form of
the '--silent' option and '-e' as the short form of the '--proc' option.
But they are not correct:
$ cpupower idle-info -f
idle-info: invalid option -- 'f'
invalid or unknown argument
$ cpupower idle-info -e
idle-info: invalid option -- 'e'
invalid or unknown argument
The short form of '--silent' is actually '-s' and the short form of
'--proc' is actually 'o':
cpuidle-info.c:
{"silent", no_argument, NULL, 's'},
{"proc", no_argument, NULL, 'o'},
Fixes e7d85a934182d5bde1eea865169fbf2e0637a3ed ("cpupower: Add cpupower-idle-info manpage")
Signed-off-by: Roberto Ricci <io@r-ricci.it>
---
v1 -> v2: improved changelog
v1: https://lore.kernel.org/all/abHAZj9xwfDf5JVZ@desktop0a/
tools/power/cpupower/man/cpupower-idle-info.1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/power/cpupower/man/cpupower-idle-info.1 b/tools/power/cpupower/man/cpupower-idle-info.1
index 20b6345c53ad..b2f92aba5f5b 100644
--- a/tools/power/cpupower/man/cpupower-idle-info.1
+++ b/tools/power/cpupower/man/cpupower-idle-info.1
@@ -11,10 +11,10 @@ A tool which prints out per cpu idle information helpful to developers and inter
.SH "OPTIONS"
.LP
.TP
-\fB\-f\fR \fB\-\-silent\fR
+\fB\-s\fR \fB\-\-silent\fR
Only print a summary of all available C-states in the system.
.TP
-\fB\-e\fR \fB\-\-proc\fR
+\fB\-o\fR \fB\-\-proc\fR
deprecated.
Prints out idle information in old /proc/acpi/processor/*/power format. This
interface has been removed from the kernel for quite some time, do not let
--
2.53.0
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2 1/4] cpupower-idle-info.1: fix short option names
2026-03-11 23:32 ` [PATCH v2 " Roberto Ricci
@ 2026-03-12 0:39 ` Shuah Khan
0 siblings, 0 replies; 4+ messages in thread
From: Shuah Khan @ 2026-03-12 0:39 UTC (permalink / raw)
To: Roberto Ricci
Cc: Thomas Renninger, John B. Wyatt IV, John Kacur, linux-pm,
linux-kernel, Shuah Khan
On 3/11/26 17:32, Roberto Ricci wrote:
> The cpupower-idle-info(1) man page describes '-f' as the short form of
> the '--silent' option and '-e' as the short form of the '--proc' option.
> But they are not correct:
>
> $ cpupower idle-info -f
> idle-info: invalid option -- 'f'
> invalid or unknown argument
> $ cpupower idle-info -e
> idle-info: invalid option -- 'e'
> invalid or unknown argument
>
> The short form of '--silent' is actually '-s' and the short form of
> '--proc' is actually 'o':
>
> cpuidle-info.c:
> {"silent", no_argument, NULL, 's'},
> {"proc", no_argument, NULL, 'o'},
>
> Fixes e7d85a934182d5bde1eea865169fbf2e0637a3ed ("cpupower: Add cpupower-idle-info manpage")
>
> Signed-off-by: Roberto Ricci <io@r-ricci.it>
It is odd that your patch v2s are showing up as responses.
Please send a proper patch so I can review - same comment
on the other 3 patches.
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-03-12 0:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-11 19:20 [PATCH 1/4] cpupower-idle-info.1: fix short option names Roberto Ricci
2026-03-11 20:41 ` Shuah Khan
2026-03-11 23:32 ` [PATCH v2 " Roberto Ricci
2026-03-12 0:39 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox