zsh-workers
 help / color / mirror / code / Atom feed
05c03ab15e6772fdbd598df10e4c771bf197a945 blob 758 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[minimum frequency to throttle down to]:frequency (MHz)' \
    '-M[maximum frequency to throttle up to]:frequency (MHz)' \
    "-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 05c03ab15 ...
found 05c03ab15 in https://git.vuxu.org/mirror/zsh/

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).