From 1f4a50cc9fffd419f5f59cc1883b87d00f245047 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Fri, 17 Jun 2022 11:27:00 +0200 Subject: [PATCH] Update text --- README.md | 4 ++-- man/tio.1.in | 10 +++++----- src/options.c | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 6a73437..4b40b32 100644 --- a/README.md +++ b/README.md @@ -45,12 +45,12 @@ The command-line interface is straightforward as reflected in the output from -t, --timestamp Enable line timestamp --timestamp-format Set timestamp format (default: 24hour) -L, --list-devices List available serial devices - -l, --log Enable log to file + -l, --log Enable logging to file --log-file Set log filename --log-strip Strip control characters and escape sequences -m, --map Map special characters -c, --color 0..255|none|list Colorize tio text (default: 15) - -S, --socket Listen on socket + -S, --socket Redirect I/O to socket -x, --hex Enable hexadecimal mode -v, --version Display version -h, --help Display help diff --git a/man/tio.1.in b/man/tio.1.in index 0b4dc2e..0a31620 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -86,7 +86,7 @@ List available serial devices. .TP .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 .BR " \-\-log-file \fI @@ -139,13 +139,13 @@ Default value is 15. .TP .BR \-S ", " "\-\-socket \fI\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 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. -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 .TP 20n @@ -244,7 +244,7 @@ Set output delay .IP "\fBno-autoconnect" Disable automatic connect .IP "\fBlog" -Enable log to file +Enable logging to file .IP "\fBlog-file" Set log filename .IP "\fBlog-strip" @@ -262,7 +262,7 @@ Colorize tio text using ANSI color code ranging from 0 to 255 .IP "\fBhex-mode" Enable hexadecimal mode .IP "\fBsocket" -Set socket to listen on +Set socket to redirect I/O to .SH "CONFIGURATION EXAMPLES" diff --git a/src/options.c b/src/options.c index 078fb92..bc05bc7 100644 --- a/src/options.c +++ b/src/options.c @@ -87,7 +87,7 @@ void print_help(char *argv[]) printf(" --log-strip Strip control characters and escape sequences\n"); printf(" -m, --map Map special characters\n"); printf(" -c, --color 0..255|none|list Colorize tio text (default: 15)\n"); - printf(" -S, --socket Listen on socket\n"); + printf(" -S, --socket Redirect I/O to socket\n"); printf(" -x, --hex-mode Enable hexadecimal mode\n"); printf(" -v, --version Display version\n"); printf(" -h, --help Display help\n");