From 3298ba0f1b0dad0f890aa951f0c16188c65df4c3 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Fri, 16 Sep 2022 13:43:51 +0200 Subject: [PATCH] Update README --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd34f2d..5effb79 100644 --- a/README.md +++ b/README.md @@ -142,7 +142,17 @@ list all available serial tty devices. Log to file with autogenerated filename: ``` -$ tio /dev/ttyUSB0 --log +$ tio --log /dev/ttyUSB0 +``` + +Enable ISO8601 timestamps per line: +``` +$ tio --timestamp --timestamp-format iso8601 /dev/ttyUSB0 +``` + +Redirect I/O to IPv4 network socket on port 4242: +``` +$ tio --socket inet:4242 /dev/ttyUSB0 ``` Inject data to the serial device: