From b7cdbec8e2d8a194cbf1fd340e6ba34e2a586de2 Mon Sep 17 00:00:00 2001 From: Martin Lund Date: Wed, 18 Apr 2018 20:48:04 +0200 Subject: [PATCH] Update man page and bash completion --- man/tio.1 | 14 +++++++------- src/bash-completion/tio.in | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/man/tio.1 b/man/tio.1 index f666ad9..f8566e4 100644 --- a/man/tio.1 +++ b/man/tio.1 @@ -1,4 +1,4 @@ -.TH "tio" "1" "November 2017" +.TH "tio" "1" "April 2018" .SH "NAME" tio \- a simple TTY terminal I/O application @@ -63,20 +63,20 @@ Map (replace, translate) special characters on input or output. The following ma .RS .TP 12n +.IP "\fBICRNL" +Map CR to NL on input (unless IGNCR is set). +.IP "\fBIGNCR" +Ignore CR on input. .IP "\fBINLCR" Map NL to CR on input. .IP "\fBINLCRNL" Map NL to CR-NL on input. -.IP "\fBIGNCR" -Ignore CR on input. -.IP "\fBICRNL" -Map CR to NL on input (unless IGNCR is set). -.IP "\fBONLCRNL" -Map NL to CR-NL on output. .IP "\fBOCRNL" Map CR to NL on output. .IP "\fBODELBS" Map DEL to BS on output. +.IP "\fBONLCRNL" +Map NL to CR-NL on output. .P If defining more than one flag, the flags must be comma separated. .RE diff --git a/src/bash-completion/tio.in b/src/bash-completion/tio.in index 431b1cc..367f4b2 100644 --- a/src/bash-completion/tio.in +++ b/src/bash-completion/tio.in @@ -58,7 +58,7 @@ _tio() return 0 ;; -m | --map) - COMPREPLY=( $(compgen -W "INLCR IGNCR ICRNL ONLCR OCRNL" -- ${cur}) ) + COMPREPLY=( $(compgen -W "ICRNL IGNCR INLCR INLCRNL OCRNL ODELBS ONLCRNL" -- ${cur}) ) return 0 ;; -v | --version)