88d7c401b005042c99bf888eabf9f0bbb93bbc5d blob 804 bytes (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| | #compdef powerd
local powerd_mode
powerd_mode=(minimum maximum adaptative)
_arguments -s \
"-a[mode to use while on AC power]:mode:($powerd_mode)" \
"-b[mode to use while on battery power]:mode:($powerd_mode)" \
'-i[CPU idle percent level when begin to degrade performance]:percent:' \
"-m[maximum frequency to throttle down to]:freq: :_guard '[0-9]#' 'numeric value'" \
"-M[maximum frequency to throttle up to]:freq: :_guard '[0-9]#' 'numeric value'" \
"-n[mode to use normally when the AC line state is unknown]:mode:($powerd_mode)" \
'-p[polling interval (in milliseconds) for AC line state and system idle levels]:interval:' \
'-P[alternative pidfile]:pidfile:_files' \
'-r[CPU idle percent level where to increase performance]:percent:' \
'-v[verbose mode]'
|
debug log:
solving 88d7c401b ...
found 88d7c401b in https://inbox.vuxu.org/zsh-workers/20180526070821.8661-1-lists@eitanadler.com/
found 18a9fb437 in https://git.vuxu.org/mirror/zsh/
preparing index
index prepared:
100644 18a9fb4375dda2257a8e2d353368ba697c71a7da Completion/BSD/Command/_powerd
applying [1/1] https://inbox.vuxu.org/zsh-workers/20180526070821.8661-1-lists@eitanadler.com/
diff --git a/Completion/BSD/Command/_powerd b/Completion/BSD/Command/_powerd
index 18a9fb437..88d7c401b 100644
Checking patch Completion/BSD/Command/_powerd...
Applied patch Completion/BSD/Command/_powerd cleanly.
index at:
100644 88d7c401b005042c99bf888eabf9f0bbb93bbc5d Completion/BSD/Command/_powerd
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).