Fixed hyphen vs minus vs em-dash confusion in man page

- prints as hyphen;
\- prints as minus sign;
\em prints as em-dash.
This commit is contained in:
Jakub Wilk 2016-05-07 17:41:36 +02:00
parent e88c4d55da
commit 804b215c88

View file

@ -17,43 +17,43 @@ commandline interface to easily connect to TTY devices for basic input/output.
.SH "OPTIONS" .SH "OPTIONS"
.TP .TP
.B \-b, \--baudrate <bps> .B \-b, \-\-baudrate <bps>
Set baud rate [bps] (default: 115200). Set baud rate [bps] (default: 115200).
.TP .TP
.B \-d, \--databits 5|6|7|8 .B \-d, \-\-databits 5|6|7|8
Set data bits (default: 8). Set data bits (default: 8).
.TP .TP
.B \-f, \--flow hard|soft|none .B \-f, \-\-flow hard|soft|none
Set flow control (default: none). Set flow control (default: none).
.TP .TP
.B \-s, \--stopbits 1|2 .B \-s, \-\-stopbits 1|2
Set stop bits (default: 1). Set stop bits (default: 1).
.TP .TP
.B \-p, \--parity odd|even|none .B \-p, \-\-parity odd|even|none
Set parity (default: none). Set parity (default: none).
.TP .TP
.B \-o, \--output-delay <ms> .B \-o, \-\-output\-delay <ms>
Set output delay [ms] - delay inserted between each transmitted character (default: 0). Set output delay [ms] \(em delay inserted between each transmitted character (default: 0).
.TP .TP
.B \-n, \--no-autoconnect .B \-n, \-\-no\-autoconnect
Disable automatic connect. Disable automatic connect.
.TP .TP
.B \-l, \--log <filename> .B \-l, \-\-log <filename>
Log to file. Log to file.
.TP .TP
.B \-v, \--version .B \-v, \-\-version
Display program version. Display program version.
.TP .TP
.B \-h, \--help .B \-h, \-\-help
Display help. Display help.
@ -69,15 +69,15 @@ tio /dev/ttyUSB0
.TP .TP
Which corresponds to: Which corresponds to:
tio -b 115200 -d 8 -f none -s 1 -p none /dev/ttyUSB0 tio \-b 115200 \-d 8 \-f none \-s 1 \-p none /dev/ttyUSB0
.TP .TP
It is recommended to connect serial tty devices by id. For example: It is recommended to connect serial tty devices by id. For example:
tio /dev/serial/by-id/usb-FTDI_TTL232R-3V3_FTGQVXBL-if00-port0 tio /dev/serial/by\-id/usb\-FTDI_TTL232R-3V3_FTGQVXBL\-if00\-port0
.PP .PP
Using serial devices by id ensures that tio automatically reconnects to the Using serial devices by id ensures that tio automatically reconnects to the
correct serial device if the device is disconnected and then reconnected. correct serial device if the device is disconnected and then reconnected.
.SH "AUTHOR" .SH "AUTHOR"
.PP .PP
Written by Martin Lund <martin.lund@keep-it-simple.com>. Written by Martin Lund <martin.lund@keep\-it\-simple.com>.