#compdef pmd-pdf

_pmd-pdf() {
  local -a options=(
    {-h,--help}"[Show this help message and exit]"
    "--head[Use a custom HTML header instead of the internal one
(useful for fine-tuning PDF theming)]: :_files"
    "--completion[Output a shell completion script for the specified shell]: :(bash zsh fish)"
  )
  _arguments -s -S \
    $options \
    ": :_files" \
    ": :_files" \
    && return 0

  return 1
}

_pmd-pdf
