From 3553fc765e97770ec9290ce83cc33a60e3f6ac1c Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Thu, 30 Jun 2022 15:20:38 +0200 Subject: [PATCH] Update text --- README.md | 3 ++- man/tio.1.in | 4 ++-- src/options.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5bed0e7..501be0b 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ when used in combination with [tmux](https://tmux.github.io). * Support for delayed output * Hexadecimal mode * Log to file + * Autogeneration of log filename * Configuration file support * Select subconfigurations by name or pattern * Redirect I/O to socket for scripting or TTY sharing @@ -67,7 +68,7 @@ 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 logging to file + -l, --log Enable log to file --log-file Set log filename --log-strip Strip control characters and escape sequences -m, --map Map special characters diff --git a/man/tio.1.in b/man/tio.1.in index a6a3de5..fe273b1 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -87,7 +87,7 @@ List available serial devices. .TP .BR \-l ", " \-\-log -Enable logging to file. If no filename is provided the filename will be automatically generated. +Enable log to file. If no filename is provided the filename will be automatically generated. .TP .BR " \-\-log-file \fI @@ -245,7 +245,7 @@ Set output delay .IP "\fBno-autoconnect" Disable automatic connect .IP "\fBlog" -Enable logging to file +Enable log to file .IP "\fBlog-file" Set log filename .IP "\fBlog-strip" diff --git a/src/options.c b/src/options.c index 395a24b..bc05bc7 100644 --- a/src/options.c +++ b/src/options.c @@ -82,7 +82,7 @@ void print_help(char *argv[]) printf(" -t, --timestamp Enable line timestamp\n"); printf(" --timestamp-format Set timestamp format (default: 24hour)\n"); printf(" -L, --list-devices List available serial devices\n"); - printf(" -l, --log Enable logging to file\n"); + printf(" -l, --log Enable log to file\n"); printf(" --log-file Set log filename\n"); printf(" --log-strip Strip control characters and escape sequences\n"); printf(" -m, --map Map special characters\n");