Improve man page formatting

Use regular font for metacharacters such as "[]", "," or "|";
use italic font for metavariables.
This commit is contained in:
Jakub Wilk 2016-05-07 17:54:21 +02:00
parent 804b215c88
commit fb8e96b5be

View file

@ -6,7 +6,7 @@ tio \- The simple TTY terminal I/O application
.SH "SYNOPSIS" .SH "SYNOPSIS"
.PP .PP
.B tio .B tio
[<options>] <tty device> .RI "[" <options> "] " "<tty device>"
.SH "DESCRIPTION" .SH "DESCRIPTION"
.PP .PP
@ -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> .BR \-b ", " "\-\-baudrate " \fI<bps>
Set baud rate [bps] (default: 115200). Set baud rate [bps] (default: 115200).
.TP .TP
.B \-d, \-\-databits 5|6|7|8 .BR \-d ", " "\-\-databits 5" | 6 | 7 | 8
Set data bits (default: 8). Set data bits (default: 8).
.TP .TP
.B \-f, \-\-flow hard|soft|none .BR \-f ", " "\-\-flow hard" | soft | none
Set flow control (default: none). Set flow control (default: none).
.TP .TP
.B \-s, \-\-stopbits 1|2 .BR \-s ", " "\-\-stopbits 1" | 2
Set stop bits (default: 1). Set stop bits (default: 1).
.TP .TP
.B \-p, \-\-parity odd|even|none .BR \-p ", " "\-\-parity odd" | even | none
Set parity (default: none). Set parity (default: none).
.TP .TP
.B \-o, \-\-output\-delay <ms> .BR \-o ", " "\-\-output\-delay " \fI<ms>
Set output delay [ms] \(em 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 .BR \-n ", " \-\-no\-autoconnect
Disable automatic connect. Disable automatic connect.
.TP .TP
.B \-l, \-\-log <filename> .BR \-l ", " "\-\-log " \fI<filename>
Log to file. Log to file.
.TP .TP
.B \-v, \-\-version .BR \-v ", " \-\-version
Display program version. Display program version.
.TP .TP
.B \-h, \-\-help .BR \-h ", " \-\-help
Display help. Display help.