mirror of
https://github.com/tio/tio.git
synced 2026-05-01 23:07:58 +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 \
|
-l --log \
|
||||||
-m --map \
|
-m --map \
|
||||||
-v --version \
|
-v --version \
|
||||||
|
-t --timestamp \
|
||||||
-h --help"
|
-h --help"
|
||||||
|
|
||||||
# Complete the arguments to the options.
|
# Complete the arguments to the options.
|
||||||
|
|
@ -65,6 +66,10 @@ _tio()
|
||||||
COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) )
|
COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) )
|
||||||
return 0
|
return 0
|
||||||
;;
|
;;
|
||||||
|
-t | --timestamp)
|
||||||
|
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