mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Merge pull request #111 from henrikbrixandersen/bash_completion_timestamp
Add -t/--timestamp to bash completion script.
This commit is contained in:
commit
76c04f5015
1 changed files with 5 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ _tio()
|
|||
-l --log \
|
||||
-m --map \
|
||||
-v --version \
|
||||
-t --timestamp \
|
||||
-h --help"
|
||||
|
||||
# Complete the arguments to the options.
|
||||
|
|
@ -65,6 +66,10 @@ _tio()
|
|||
COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
-t | --timestamp)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
-v | --version)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
return 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue