summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2006-10-04 09:33:48 +0000
committerClint Adams <clint@users.sourceforge.net>2006-10-04 09:33:48 +0000
commit68e6b673f781a4ee8682ec35b80c96258cb38fd2 (patch)
tree7fc043fd86bd17480f75b6d5c5f52933d15745b5
parent9619db1d94df55cb76160d9832ff206b038efee6 (diff)
downloadzsh-68e6b673f781a4ee8682ec35b80c96258cb38fd2.tar.gz
zsh-68e6b673f781a4ee8682ec35b80c96258cb38fd2.zip
22815: Joerg Sommer: completion for invoke-rc.d
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Debian/Command/_invoke-rc.d11
2 files changed, 16 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index c4e0731b9..c294fb562 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2006-10-03 Clint Adams <clint@zsh.org>
+ * 22815: Joerg Sommer: Completion/Debian/Command/_invoke-rc.d:
+ completion for invoke-rc.d
+
+2006-10-03 Clint Adams <clint@zsh.org>
+
* 22814: Completion/X/Command/_mplayer: add .mp4 and .flv
to media file extension list.
diff --git a/Completion/Debian/Command/_invoke-rc.d b/Completion/Debian/Command/_invoke-rc.d
new file mode 100644
index 000000000..cd8df28c1
--- /dev/null
+++ b/Completion/Debian/Command/_invoke-rc.d
@@ -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)'