From fa4207ddfda529895a3e1776203ae63f67a934fc Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Fri, 19 Apr 2024 20:11:52 +0200 Subject: [PATCH] Update description of mute option --- README.md | 2 +- man/tio.1.in | 7 +++++++ src/options.c | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 63e2bba..b20351e 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ Options: --rs-485 Enable RS-485 mode --rs-485-config Set RS-485 configuration --alert bell|blink|none Alert on connect/disconnect (default: none) - --mute Mute tio + --mute Mute tio messages --script Run script from string --script-file Run script from file --script-run once|always|never Run script on connect (default: always) diff --git a/man/tio.1.in b/man/tio.1.in index 5b15b8c..70d9053 100644 --- a/man/tio.1.in +++ b/man/tio.1.in @@ -299,6 +299,11 @@ will sound the bell twice or blink twice on disconnect. Default value is "none". +.TP +.BR "\-\-mute" + +Mute tio messages. + .TP .BR "\-\-script \fI @@ -509,6 +514,8 @@ Enable RS-485 mode Set RS-485 configuration .IP "\fBalert" Set alert action on connect/disconnect +.IP "\fBmute" +Mute tio messages .IP "\fBscript" Run script from string .IP "\fBscript-file" diff --git a/src/options.c b/src/options.c index 5c49c1d..500ede1 100644 --- a/src/options.c +++ b/src/options.c @@ -145,7 +145,7 @@ void print_help(char *argv[]) printf(" --rs-485 Enable RS-485 mode\n"); printf(" --rs-485-config Set RS-485 configuration\n"); printf(" --alert bell|blink|none Alert on connect/disconnect (default: none)\n"); - printf(" --mute Mute tio\n"); + printf(" --mute Mute tio messages\n"); printf(" --script Run script from string\n"); printf(" --script-file Run script from file\n"); printf(" --script-run once|always|never Run script on connect (default: always)\n");