1#compdef invoke-rc.d
2
3_arguments \
4  '--quiet[quiet mode, no error messages are generated]' \
5  '--force[run the initscript regardless of policy and subsystem]' \
6  '--try-anyway[run the initscript even if a non-fatal error is found]' \
7  '--disclose-deny[return 101 instead of 0 if action is denied]' \
8  '--query[return one of status codes 100-106, does not run the script]' \
9  '--no-fallback[ignore any fallback action requests by the policy layer]' \
10  '1:service:_services' \
11  '2:command:(start stop force-stop restart reload force-reload status)'
12