tss2_nvincrement 582 B

12345678910111213141516171819202122
  1. # bash completion for tss2_nvincremend -*- shell-script -*-
  2. _tss2_nvincrement()
  3. {
  4. local cur prev words cword split
  5. _init_completion -s || return
  6. case $prev in
  7. -!(-*)h | --help)
  8. COMPREPLY=( $(compgen -W "man no-man" -- "$cur") )
  9. return;;
  10. -!(-*)p | --nvPath)
  11. return;;
  12. esac
  13. $split && return
  14. COMPREPLY=( $(compgen -W "-h --help -v --version --nvPath= -p" -- "$cur") )
  15. [[ $COMPREPLY == *= ]] && compopt -o nospace
  16. } &&
  17. complete -F _tss2_nvincrement tss2_nvincrement
  18. # ex: filetype=sh