tss2_changeauth 618 B

1234567891011121314151617181920212223
  1. # bash completion for tss2_changeauth -*- shell-script -*-
  2. _tss2_changeauth()
  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. -!(-*)[ap] | --authValue | --entityPath)
  11. return;;
  12. esac
  13. $split && return
  14. COMPREPLY=( $(compgen -W "-h --help -v --version -a --authValue=
  15. -p --entityPath=" -- "$cur") )
  16. [[ $COMPREPLY == *= ]] && compopt -o nospace
  17. } &&
  18. complete -F _tss2_changeauth tss2_changeauth
  19. # ex: filetype=sh