about summary refs log tree commit diff
path: root/Completion/Solaris/Command/_svcprop
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-07-11 00:32:34 +0200
committerOliver Kiddle <opk@zsh.org>2021-07-11 00:32:34 +0200
commit6e10067ffd3d2ede3e0a59c36e03d00cee5d9ad1 (patch)
tree74ca0ec49a03e60378dc055bc17bbd2e63f0c07c /Completion/Solaris/Command/_svcprop
parente9203d04aa8cd0e77ddafd8153368bf10a909d44 (diff)
downloadzsh-6e10067ffd3d2ede3e0a59c36e03d00cee5d9ad1.tar.gz
zsh-6e10067ffd3d2ede3e0a59c36e03d00cee5d9ad1.tar.xz
zsh-6e10067ffd3d2ede3e0a59c36e03d00cee5d9ad1.zip
49158: remove superfluous function definitions
Diffstat (limited to 'Completion/Solaris/Command/_svcprop')
-rw-r--r--Completion/Solaris/Command/_svcprop42
1 files changed, 18 insertions, 24 deletions
diff --git a/Completion/Solaris/Command/_svcprop b/Completion/Solaris/Command/_svcprop
index 4a5436caf..19c65d3cf 100644
--- a/Completion/Solaris/Command/_svcprop
+++ b/Completion/Solaris/Command/_svcprop
@@ -1,26 +1,20 @@
 #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
+_arguments -s \
+  '-f[designate properties by their FMRI]' \
+  '-q[quiet]' \
+  '-t[use multi-property output format]' \
+  '-v[verbose]' \
+  - set1 \
+  '-w[wait for the selected property or property group to change]' \
+  '-p[print 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[print values of named property or property group]' \
+  '*:FMRI:_svcs_fmri -i'