summary refs log tree commit diff
path: root/Completion/Solaris/Command/_svcprop
blob: 4a5436caf36fcb2556b0f05ee850f67e58095405 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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 \
		'-a[display all properties]' \
		'-g[group type filter]:group type:' \
		'*-l[properties from a layer]:layer:(admin site-profile system-profile manifest)' \
		'(-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