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
9476422922
commit
8a83d2a973
1 changed files with 6 additions and 0 deletions
|
|
@ -18,9 +18,11 @@ _tio()
|
|||
-o --output-delay \
|
||||
-n --no-autoconnect \
|
||||
-l --log \
|
||||
--log-filename \
|
||||
-m --map \
|
||||
-v --version \
|
||||
-t --timestamp \
|
||||
--timestamp-format \
|
||||
-L --list-devices \
|
||||
-c --color \
|
||||
-h --help"
|
||||
|
|
@ -69,6 +71,10 @@ _tio()
|
|||
return 0
|
||||
;;
|
||||
-t | --timestamp)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
--timestamp-format)
|
||||
COMPREPLY=( $(compgen -W "24hour 24hour-start iso8601" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue