Update text

This commit is contained in:
Martin Lund 2022-06-17 11:27:00 +02:00
parent edcd3c3c3d
commit 1f4a50cc9f
3 changed files with 8 additions and 8 deletions

View file

@ -45,12 +45,12 @@ The command-line interface is straightforward as reflected in the output from
-t, --timestamp Enable line timestamp -t, --timestamp Enable line timestamp
--timestamp-format <format> Set timestamp format (default: 24hour) --timestamp-format <format> Set timestamp format (default: 24hour)
-L, --list-devices List available serial devices -L, --list-devices List available serial devices
-l, --log Enable log to file -l, --log Enable logging to file
--log-file <filename> Set log filename --log-file <filename> Set log filename
--log-strip Strip control characters and escape sequences --log-strip Strip control characters and escape sequences
-m, --map <flags> Map special characters -m, --map <flags> Map special characters
-c, --color 0..255|none|list Colorize tio text (default: 15) -c, --color 0..255|none|list Colorize tio text (default: 15)
-S, --socket <socket> Listen on socket -S, --socket <socket> Redirect I/O to socket
-x, --hex Enable hexadecimal mode -x, --hex Enable hexadecimal mode
-v, --version Display version -v, --version Display version
-h, --help Display help -h, --help Display help

View file

@ -86,7 +86,7 @@ List available serial devices.
.TP .TP
.BR \-l ", " \-\-log .BR \-l ", " \-\-log
Enable log to file. If no filename is provided the filename will be automatically generated. Enable logging to file. If no filename is provided the filename will be automatically generated.
.TP .TP
.BR " \-\-log-file \fI<filename> .BR " \-\-log-file \fI<filename>
@ -139,13 +139,13 @@ Default value is 15.
.TP .TP
.BR \-S ", " "\-\-socket \fI<socket>\fR\fB .BR \-S ", " "\-\-socket \fI<socket>\fR\fB
Listen on socket. Any input from clients connected to the socket is sent on the serial port as if entered at the terminal where tio is running (except that Redirect I/O to socket. Any input from clients connected to the socket is sent on the serial port as if entered at the terminal where tio is running (except that
.B ctrl-t .B ctrl-t
sequences are not recognized), and any input from the serial port is multiplexed to the terminal and all connected clients. sequences are not recognized), and any input from the serial port is multiplexed to the terminal and all connected clients.
Sockets remain open while the serial port is disconnected, and writes will block. Sockets remain open while the serial port is disconnected, and writes will block.
The following socket types are supported using different prefixes in the socket field: Various socket types are supported using the following prefixes in the socket field:
.RS .RS
.TP 20n .TP 20n
@ -244,7 +244,7 @@ Set output delay
.IP "\fBno-autoconnect" .IP "\fBno-autoconnect"
Disable automatic connect Disable automatic connect
.IP "\fBlog" .IP "\fBlog"
Enable log to file Enable logging to file
.IP "\fBlog-file" .IP "\fBlog-file"
Set log filename Set log filename
.IP "\fBlog-strip" .IP "\fBlog-strip"
@ -262,7 +262,7 @@ Colorize tio text using ANSI color code ranging from 0 to 255
.IP "\fBhex-mode" .IP "\fBhex-mode"
Enable hexadecimal mode Enable hexadecimal mode
.IP "\fBsocket" .IP "\fBsocket"
Set socket to listen on Set socket to redirect I/O to
.SH "CONFIGURATION EXAMPLES" .SH "CONFIGURATION EXAMPLES"

View file

@ -87,7 +87,7 @@ void print_help(char *argv[])
printf(" --log-strip Strip control characters and escape sequences\n"); printf(" --log-strip Strip control characters and escape sequences\n");
printf(" -m, --map <flags> Map special characters\n"); printf(" -m, --map <flags> Map special characters\n");
printf(" -c, --color 0..255|none|list Colorize tio text (default: 15)\n"); printf(" -c, --color 0..255|none|list Colorize tio text (default: 15)\n");
printf(" -S, --socket <socket> Listen on socket\n"); printf(" -S, --socket <socket> Redirect I/O to socket\n");
printf(" -x, --hex-mode Enable hexadecimal mode\n"); printf(" -x, --hex-mode Enable hexadecimal mode\n");
printf(" -v, --version Display version\n"); printf(" -v, --version Display version\n");
printf(" -h, --help Display help\n"); printf(" -h, --help Display help\n");