Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

PATCH: _invoke-rc.d



Completion for invoke-rc.d from Jörg Sommer.

Index: Completion/Debian/Command/_invoke-rc.d
===================================================================
RCS file: Completion/Debian/Command/_invoke-rc.d
diff -N Completion/Debian/Command/_invoke-rc.d
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ Completion/Debian/Command/_invoke-rc.d	4 Oct 2006 09:27:49 -0000
@@ -0,0 +1,11 @@
+#compdef invoke-rc.d
+
+_arguments \
+  '--quiet[quiet mode, no error messages are generated]' \
+  '--force[run the initscript regardless of policy and subsystem]' \
+  '--try-anyway[run the initscript even if a non-fatal error is found]' \
+  '--disclose-deny[return 101 instead of 0 if action is denied]' \
+  '--query[return one of status codes 100-106, does not run the script]' \
+  '--no-fallback[ignore any fallback action requests by the policy layer]' \
+  '1:service:_services' \
+  '2:command:(start stop force-stop restart reload force-reload status)'



Messages sorted by: Reverse Date, Date, Thread, Author