diff options
| author | David Arcari <darcari@redhat.com> | 2026-04-21 10:32:17 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2026-04-22 11:26:33 -0400 |
| commit | ce012c966b518c53475ba9a4e979242d7322d819 (patch) | |
| tree | 372c8ee08930270c5581823cee8175cd098b2fc1 /include/linux/timerqueue.h | |
| parent | 3ae6bafa104d93ddc525b8de547bf66b43fcaf10 (diff) | |
tools/power turbostat: Fix unrecognized option '-P'
The '-P' short option (shorthand for --no-perf) is not present in the
optstring of the second call to getopt_long_only(). This results in
the "unrecognized option" error when the tool reaches the main parsing
loop.
Add 'P' to the second getopt_long_only() call to ensure it is
consistently recognized.
Fixes: a0e86c90b83c ("tools/power turbostat: Add --no-perf option")
Signed-off-by: David Arcari <darcari@redhat.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
