]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
cpupower-idle-info.1: fix short option names
authorRoberto Ricci <io@r-ricci.it>
Tue, 24 Mar 2026 22:39:01 +0000 (23:39 +0100)
committerShuah Khan <skhan@linuxfoundation.org>
Wed, 25 Mar 2026 19:36:11 +0000 (13:36 -0600)
commit193f41dad3d4197b35be8b4cff13c606eb0e1efe
tree91611c1a066c5d57691408b2a9d8fd61031d573e
parentc369299895a591d96745d6492d4888259b004a9e
cpupower-idle-info.1: fix short option names

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'},

Signed-off-by: Roberto Ricci <io@r-ricci.it>
Link: https://lore.kernel.org/r/20260324223921.14317-2-io@r-ricci.it
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/power/cpupower/man/cpupower-idle-info.1