mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +02:00
Fix completion for -e, --local-echo
This commit is contained in:
parent
858b898bbb
commit
a826bf4fcb
1 changed files with 5 additions and 4 deletions
|
|
@ -17,6 +17,7 @@ _tio()
|
||||||
-p --parity \
|
-p --parity \
|
||||||
-o --output-delay \
|
-o --output-delay \
|
||||||
-n --no-autoconnect \
|
-n --no-autoconnect \
|
||||||
|
-e --local-echo \
|
||||||
-l --log \
|
-l --log \
|
||||||
--log-file \
|
--log-file \
|
||||||
--log-strip \
|
--log-strip \
|
||||||
|
|
@ -41,10 +42,6 @@ _tio()
|
||||||
COMPREPLY=( $(compgen -W "5 6 7 8" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "5 6 7 8" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
-h | --local-echo)
|
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
|
||||||
return 0
|
|
||||||
;;
|
|
||||||
-f | --flow)
|
-f | --flow)
|
||||||
COMPREPLY=( $(compgen -W "hard soft none" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "hard soft none" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
|
|
@ -65,6 +62,10 @@ _tio()
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-e | --local-echo)
|
||||||
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
-l | --log)
|
-l | --log)
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue