5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
9 COMPREPLY=( $(compgen -W "speed" -- $cur) )
12 '-c'|'--intro-command')
13 COMPREPLY=( $(compgen -W "string" -- $cur) )
17 COMPREPLY=( $(compgen -W "seconds" -- $cur) )
22 IFLAGS="BRKINT ICRNL IGNBRK IGNCR IGNPAR IMAXBEL
23 INLCR INPCK ISTRIP IUCLC IUTF8 IXANY
25 -BRKINT -ICRNL -IGNBRK -IGNCR -IGNPAR -IMAXBEL
26 -INLCR -INPCK -ISTRIP -IUCLC -IUTF8 -IXANY
28 COMPREPLY=( $(compgen -W "$IFLAGS" -- $cur) )
31 '-h'|'--help'|'-V'|'--version')
51 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
57 COMPREPLY=( $(compgen -f -- $cur) )
62 LDISC_DEVICE="6PACK AX25 GIGASET GIGASET_M101 HCI HDLC IRDA M101
63 MOUSE PPP PPS R3964 SLIP STRIP SYNCPPP SYNC_PPP
65 COMPREPLY=( $(compgen -W "$LDISC_DEVICE" -- $cur) )
68 complete -F _ldattach_module ldattach