#compdef nbfc_service

# This script was generated by crazy-complete.
# crazy-complete: A tool that creates robust and reliable autocompletion scripts for Bash, Fish and Zsh.
# For more information, visit: https://github.com/crazy-complete/crazy-complete

_nbfc_service() {
  local -a args=(
    '(--help -h)'{-h,--help}'[show this help message and exit]'
    '(--read-only -r)'{-r,--read-only}'[Start in read-only mode]'
    '(--fork -f)'{-f,--fork}'[Switch process to background after sucessfully started]'
    '(--debug -d)'{-d,--debug}'[Enable tracing of reads and writes of the embedded controller]'
    '(--config-file -c)'{-c+,--config-file=}'[Use alternative config file (default /etc/nbfc/nbfc.json)]':config:_files
    '(--embedded-controller -e)'{-e+,--embedded-controller=}'[Specify embedded controller to use]':EC:'(dummy dev_port ec_sys acpi_ec)'
  )
  _arguments -S -s -w "${args[@]}"
}

_nbfc_service "$@"

# vim: ft=zsh ts=2 sts=2 sw=2 et
