# this was auto-generated by OpenSC/doc/tools/Makefile.am _opensc_notify() { COMPREPLY=() local cur prev split=false _get_comp_words_by_ref cur prev _split_longopt && split=true opts=" --help --message --notify-card-inserted --notify-card-removed --notify-pin-bad --notify-pin-good --title --version -B -G -I -R -V -h -m -t " if [ ${COMP_CWORD} -eq 1 ]; then COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) return 0 fi case "${prev}" in !*) _filedir so return 0 ;; !*) _filedir return 0 ;; --message|--title|-m|-t) return 0 ;; *) COMPREPLY=($(compgen -W "${opts}" -- ${cur})) return 0 ;; esac $split && return 0 if [[ "$cur" == -* ]]; then _longopt $1 return fi _filedir } complete -F _opensc_notify opensc-notify # Local variables: # mode: shell-script # sh-basic-offset: 4 # sh-indent-comment: t # indent-tabs-mode: nil # End: # ex: ts=4 sw=4 et filetype=sh