chore: update readme, bash completion, man page

This commit is contained in:
Wes Koerber 2023-07-13 20:58:01 -04:00
parent d461751a71
commit 5656381cc3
4 changed files with 10 additions and 0 deletions

View file

@ -91,6 +91,7 @@ The command-line interface is straightforward as reflected in the output from
-L, --list-devices List available serial devices
-l, --log Enable log to file
--log-file <filename> Set log filename
--log-append Append to log file
--log-strip Strip control characters and escape sequences
-m, --map <flags> Map characters
-c, --color 0..255|bold|none|list Colorize tio text (default: bold)

View file

@ -390,6 +390,8 @@ Disable automatic connect
Enable log to file
.IP "\fBlog-file"
Set log filename
.IP "\fBlog-append"
Append to log file
.IP "\fBlog-strip"
Enable strip of control and escape sequences from log
.IP "\fBlocal-echo"

View file

@ -305,6 +305,8 @@ CONFIGURATION FILE
log-file Set log filename
log-append Append to log file
log-strip Enable strip of control and escape sequences from log
local-echo Enable local echo

View file

@ -22,6 +22,7 @@ _tio()
-e --local-echo \
-l --log \
--log-file \
--log-append \
--log-strip \
-m --map \
-t --timestamp \
@ -90,6 +91,10 @@ _tio()
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
--log-append)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
;;
--log-strip)
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0