Fix completion for -e, --local-echo

This commit is contained in:
Martin Lund 2022-06-17 10:19:21 +02:00
parent 858b898bbb
commit a826bf4fcb

View file

@ -17,6 +17,7 @@ _tio()
-p --parity \
-o --output-delay \
-n --no-autoconnect \
-e --local-echo \
-l --log \
--log-file \
--log-strip \
@ -41,10 +42,6 @@ _tio()
COMPREPLY=( $(compgen -W "5 6 7 8" -- ${cur}) )
return 0
;;
-h | --local-echo)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
-f | --flow)
COMPREPLY=( $(compgen -W "hard soft none" -- ${cur}) )
return 0
@ -65,6 +62,10 @@ _tio()
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
-e | --local-echo)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
-l | --log)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0