mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
Add support for automatically generated log filename
Automatically generate log filename if none is provided. The auto generated file name is on the form: "tio_DEVICE_YYYY-MM-DDTHH:MM:SS.log"
This commit is contained in:
parent
d8a822a3fb
commit
45210bc741
3 changed files with 45 additions and 6 deletions
|
|
@ -57,7 +57,7 @@ option is provided, tio will exit if the device is not present or an established
|
|||
Enable local echo.
|
||||
|
||||
.TP
|
||||
.BR \-t ", " \-\-timestamp[=<format>]
|
||||
.BR \-t ", " \-\-timestamp[=\fI<format>\fR\fB]
|
||||
|
||||
Enable timestamp. Optionally you can specify any of the following timestamp formats:
|
||||
.RS
|
||||
|
|
@ -79,9 +79,9 @@ Default format is
|
|||
List available serial devices.
|
||||
|
||||
.TP
|
||||
.BR \-l ", " "\-\-log " \fI<filename>
|
||||
.BR \-l ", " \-\-log[=\fI<filename>\fR\fB]
|
||||
|
||||
Log to file.
|
||||
Log to file. If no filename is provided the filename will be automatically generated.
|
||||
|
||||
.TP
|
||||
.BR \-m ", " "\-\-map " \fI<flags>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue