mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Update bash completion
This commit is contained in:
parent
6d007d39d7
commit
d41649afb6
1 changed files with 6 additions and 1 deletions
|
|
@ -20,11 +20,12 @@ _tio()
|
||||||
-l --log \
|
-l --log \
|
||||||
--log-filename \
|
--log-filename \
|
||||||
-m --map \
|
-m --map \
|
||||||
-v --version \
|
|
||||||
-t --timestamp \
|
-t --timestamp \
|
||||||
--timestamp-format \
|
--timestamp-format \
|
||||||
-L --list-devices \
|
-L --list-devices \
|
||||||
-c --color \
|
-c --color \
|
||||||
|
-x --hex \
|
||||||
|
-v --version \
|
||||||
-h --help"
|
-h --help"
|
||||||
|
|
||||||
# Complete the arguments to the options.
|
# Complete the arguments to the options.
|
||||||
|
|
@ -90,6 +91,10 @@ _tio()
|
||||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-x | --hex)
|
||||||
|
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||||
|
return 0
|
||||||
|
;;
|
||||||
-v | --version)
|
-v | --version)
|
||||||
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