about summary refs log tree commit diff
path: root/Completion/Cygwin/Command/_cygrunsrv
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-08-28 10:36:00 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-08-28 10:36:00 +0000
commit3f52f95978987d51b4f8f548c7cccc5cae7d64f5 (patch)
treec74042673ecf0f64257d4230b17226ef40e58b42 /Completion/Cygwin/Command/_cygrunsrv
parent2270746356368eb20676bbfb26c82c2a06e694ec (diff)
downloadzsh-3f52f95978987d51b4f8f548c7cccc5cae7d64f5.tar.gz
zsh-3f52f95978987d51b4f8f548c7cccc5cae7d64f5.tar.xz
zsh-3f52f95978987d51b4f8f548c7cccc5cae7d64f5.zip
merge completion function changes back from 4.1
Diffstat (limited to 'Completion/Cygwin/Command/_cygrunsrv')
-rw-r--r--Completion/Cygwin/Command/_cygrunsrv25
1 files changed, 25 insertions, 0 deletions
diff --git a/Completion/Cygwin/Command/_cygrunsrv b/Completion/Cygwin/Command/_cygrunsrv
new file mode 100644
index 000000000..725ac46a0
--- /dev/null
+++ b/Completion/Cygwin/Command/_cygrunsrv
@@ -0,0 +1,25 @@
+#compdef cygrunsrv cygrunsrv.exe
+
+_arguments  \
+  '(-I --install)'{-I,--install}'[install a new service]:service' \
+  '(-R --remove)'{-R,--remove}'[remove specified service]:service' \
+  '(-S --start)'{-S,--start}'[start specified service]:service' \
+  '(-E --stop)'{-E,--stop}'[stop specified service]:service' \
+  '(-p --path)'{-p,--path}'[specify application path which is run as a service]:application path' \
+  '(-a --args)'{-a,--args}'[specify options to give service on startup]:args' \
+  '(-c --chdir)'{-c,--chdir}'[specify working directory for the application]:directory:_directories' \
+  '(-e --env)'{-e,--env}'[specify environment strings exported to service]:var=value' \
+  '(-d --disp)'{-d,--disp}'[specify display name for service]:display name' \
+  '(-f --desc)'{-f,--desc}'[specify service description]:description' \
+  '(-t --type)'{-t,--type}'[specify service start type]:start type:(auto manual)' \
+  '(-u --user)'{-u,--user}'[specify user to start service under]:user:_users' \
+  '(-w --passwd)'{-w,--passwd}'[specify password for user]:password' \
+  '(-s --termsig)'{-s,--termsig}'[specify signal to use to stop service]:signal:_signals' \
+  '(-y --dep)'{-y,--dep}'[specify name of service that must be started]:service' \
+  '(-0 --stdin)'{-0,--stdin}'[specify file for stdin redirection]:file:_files' \
+  '(-1 --stdout)'{-1,--stdout}'[specify file for stdout redirection]:file:_files' \
+  '(-2 --stderr)'{-2,--stderr}'[specify file for stderr redirection]:file:_files' \
+  '(-o --shutdown)'{-o,--shutdown}'[stop service application during system shutdown]' \
+  '(- *)'{-h,--help}'[print help information]' \
+  '(- *)'{-v,--version}'[print version information]' \
+  '*: :_files'