diff options
author | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-29 21:23:45 +0000 |
---|---|---|
committer | Paul Ackersviller <packersv@users.sourceforge.net> | 2007-10-29 21:23:45 +0000 |
commit | ac92dc7c4bdc1d9999664b4b0fb9950f2087f571 (patch) | |
tree | 7dc8e8421c1cf596225ee2c7211c065b27465081 /Completion | |
parent | 21a83f33a53d3acefb4365969a4fa903c0828399 (diff) | |
download | zsh-ac92dc7c4bdc1d9999664b4b0fb9950f2087f571.tar.gz zsh-ac92dc7c4bdc1d9999664b4b0fb9950f2087f571.tar.xz zsh-ac92dc7c4bdc1d9999664b4b0fb9950f2087f571.zip |
22815/22816: Merge new completions onto 4.2 branch.
Diffstat (limited to 'Completion')
-rw-r--r-- | Completion/Debian/Command/_invoke-rc.d | 11 | ||||
-rw-r--r-- | Completion/Unix/Command/_pon | 23 |
2 files changed, 34 insertions, 0 deletions
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)' diff --git a/Completion/Unix/Command/_pon b/Completion/Unix/Command/_pon new file mode 100644 index 000000000..ee19946c1 --- /dev/null +++ b/Completion/Unix/Command/_pon @@ -0,0 +1,23 @@ +#compdef pon poff + +case "$service" in + (pon) + +_arguments \ + '(-q --quick)'{-q,--quick}'[hangs up after all ip-up scripts are run]' \ + '1:provider to call:_files -W /etc/ppp/peers' + + ;; + + (poff) +_arguments \ + '-r[drop the line and redial]' \ + '-d[toggle state of debug option]' \ + '-c[renegotiate compression]' \ + '-a[stop all pppds]' \ + '-h[help]' \ + '-v[version]' \ + '1:provider to disconnect:_files -W /etc/ppp/peers' + + ;; +esac |