File: _invoke-rc.d

package info (click to toggle)
zsh 5.8-6%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 23,708 kB
  • sloc: ansic: 107,536; sh: 6,871; makefile: 726; perl: 687; awk: 389; sed: 16
file content (11 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
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)'