From 5b29fedad850299950195a1878fe4923778f9dcc Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 21 Jul 2008 19:15:22 +0000 Subject: 25324: Danek Duvall: some Solaris and more general completions --- Completion/Solaris/Command/_svcprop | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Completion/Solaris/Command/_svcprop (limited to 'Completion/Solaris/Command/_svcprop') diff --git a/Completion/Solaris/Command/_svcprop b/Completion/Solaris/Command/_svcprop new file mode 100644 index 000000000..aa166808a --- /dev/null +++ b/Completion/Solaris/Command/_svcprop @@ -0,0 +1,23 @@ +#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 -- cgit 1.4.1