complete -c tee -l output-error -d 'tee-help-output-error' -r -f -a "warn\t'tee-help-output-error-warn'
warn-nopipe\t'tee-help-output-error-warn-nopipe'
exit\t'tee-help-output-error-exit'
exit-nopipe\t'tee-help-output-error-exit-nopipe'"
complete -c tee -s h -l help -d 'tee-help-help'
complete -c tee -s a -l append -d 'tee-help-append'
complete -c tee -s i -l ignore-interrupts -d 'tee-help-ignore-interrupts'
complete -c tee -s p -d 'tee-help-ignore-pipe-errors'
complete -c tee -s V -l version -d 'Print version'
