mirror of
https://git.code.sf.net/p/zsh/code
synced 2026-04-19 15:33:34 -04:00
24 lines
634 B
Plaintext
24 lines
634 B
Plaintext
#compdef svcprop
|
|
|
|
_svcprop() {
|
|
_arguments -s \
|
|
'-f[designate properties by their FMRI]' \
|
|
'-q[quiet]' \
|
|
'-t[use multi-property output format]' \
|
|
'-v[verbose]' \
|
|
- set1 \
|
|
'-w[waits for the selected property or property group to change]' \
|
|
'-p[prints values of named property or property group]' \
|
|
':FMRI:_svcs_fmri -i' \
|
|
- set2 \
|
|
'(-c -s)-C[retrieve properties without composition]' \
|
|
'(-C -s)-c[retrieve properties with composition]' \
|
|
'(-c -C)-s[retrieve properties from snapshot]:snapshot:' \
|
|
'*-p[prints values of named property or property group]' \
|
|
'*:FMRI:_svcs_fmri -i'
|
|
}
|
|
|
|
_svcprop "$@"
|
|
|
|
# vi:tw=0
|