mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add support for configurable timestamp format
Also changes default timestamp format from ISO8601 to classic 24-hour format as this is assumed to be the format that most users would prefer. And reintroduces strict but optional ISO8601 format. This feature allows to easily add more timestamp formats in the future.
This commit is contained in:
parent
47694904cf
commit
d8a822a3fb
6 changed files with 94 additions and 27 deletions
|
|
@ -69,7 +69,7 @@ _tio()
|
|||
return 0
|
||||
;;
|
||||
-t | --timestamp)
|
||||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
|
||||
COMPREPLY=( $(compgen -W "24hour 24hour-start iso8601" -- ${cur}) )
|
||||
return 0
|
||||
;;
|
||||
-L | --list-devices)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue