mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-09-28 15:01:21 +02:00
22815: Joerg Sommer: completion for invoke-rc.d
This commit is contained in:
parent
9619db1d94
commit
68e6b673f7
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
11
Completion/Debian/Command/_invoke-rc.d
Normal file
11
Completion/Debian/Command/_invoke-rc.d
Normal file
@ -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)'
|
Loading…
Reference in New Issue
Block a user