summaryrefslogtreecommitdiff
path: root/Completion/Linux/Command/_cpupower
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Linux/Command/_cpupower')
-rw-r--r--Completion/Linux/Command/_cpupower3
1 files changed, 2 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_cpupower b/Completion/Linux/Command/_cpupower
index ae1f1d3d1..6763bdd12 100644
--- a/Completion/Linux/Command/_cpupower
+++ b/Completion/Linux/Command/_cpupower
@@ -20,11 +20,12 @@ cmds=(
'info:show global power parameters'
'set:set global power parameters'
'monitor:report frequency and idle statistics'
+ 'powercap-info:show powercapping related kernel and hardware configurations'
'help:print usage information'
)
case $state in
cmds)
- _describe command cmds && ret=0
+ _describe command cmds -M 'r:|-=* r:|=*' && ret=0
;;
args)
curcontext="${curcontext%:*}-$words[1]"