completions/acpi: correct the -c option as cooling

Closes #11068.

(cherry picked from commit 2184aaf9b4)
This commit is contained in:
David Adam 2025-01-28 21:47:05 +08:00
parent f1bb4e02fe
commit 3400844f9a

View File

@ -14,7 +14,7 @@ complete -c acpi -s A -l without-ac-adapter -d 'Suppress ac-adapter information'
complete -c acpi -s V -l everything -d 'Show every device, overrides above options' complete -c acpi -s V -l everything -d 'Show every device, overrides above options'
complete -c acpi -s s -l show-empty -d 'Show non-operational devices' complete -c acpi -s s -l show-empty -d 'Show non-operational devices'
complete -c acpi -s S -l hide-empty -d 'Hide non-operational devices' complete -c acpi -s S -l hide-empty -d 'Hide non-operational devices'
complete -c acpi -s c -l celcius -d 'Use celsius as the temperature unit' complete -c acpi -s c -l cooling -d 'Show cooling device information'
complete -c acpi -s f -l fahrenheit -d 'Use fahrenheit as the temperature unit' complete -c acpi -s f -l fahrenheit -d 'Use fahrenheit as the temperature unit'
complete -c acpi -s k -l kelvin -d 'Use kelvin as the temperature unit' complete -c acpi -s k -l kelvin -d 'Use kelvin as the temperature unit'
complete -c acpi -s d -l directory -d '<dir> path to ACPI info (/proc/acpi)' complete -c acpi -s d -l directory -d '<dir> path to ACPI info (/proc/acpi)'