From 033b776ab28e616fd9217087a50252297394a4ca Mon Sep 17 00:00:00 2001 From: Marq Schneider Date: Fri, 6 Aug 2010 15:34:20 -0500 Subject: [PATCH] Fix non-escaped hyphens in man pages. Patch submitted from Cesare Falco. Closes GH-19 --- doc/btcli.1 | 44 ++++++++++++++++++++++---------------------- doc/btinfo.1 | 2 +- doc/btpd.1 | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/doc/btcli.1 b/doc/btcli.1 index 810e1a7..9b5c7bb 100644 --- a/doc/btcli.1 +++ b/doc/btcli.1 @@ -62,45 +62,45 @@ Specifies a custom format to use while displaying torrents. The following is a list of the characters that can be used: .RS 8 .PP -\fB%n\fR - torrent name +\fB%n\fR \- torrent name .br -\fB%#\fR - torrent number +\fB%#\fR \- torrent number .br -\fB%h\fR - torrent hash +\fB%h\fR \- torrent hash .br -\fB%d\fR - download directory +\fB%d\fR \- download directory .br -\fB%t\fR - state +\fB%t\fR \- state .br -\fB%P\fR - peer count +\fB%P\fR \- peer count .PP -\fB%^\fR - upload rate +\fB%^\fR \- upload rate .br -\fB%v\fR - download rate +\fB%v\fR \- download rate .PP -\fB%D\fR - downloaded bytes +\fB%D\fR \- downloaded bytes .br -\fB%U\fR - uploaded bytes +\fB%U\fR \- uploaded bytes .br -\fB%g\fR - bytes got +\fB%g\fR \- bytes got .br -\fB%u\fR - bytes uploaded +\fB%u\fR \- bytes uploaded .br -\fB%s\fR - total size, (formatted: prints K, M, G) +\fB%s\fR \- total size, (formatted: prints K, M, G) .br -\fB%S\fR - total size, in bytes +\fB%S\fR \- total size, in bytes .PP -\fB%A\fR - available pieces +\fB%A\fR \- available pieces .br -\fB%T\fR - total pieces +\fB%T\fR \- total pieces .br -\fB%H\fR - have pieces +\fB%H\fR \- have pieces .PP -\fB%p\fR - percent have (formatted) +\fB%p\fR \- percent have (formatted) .br -\fB%r\fR - ratio +\fB%r\fR \- ratio .PP -\fB%%\fR - a percent symbol: '%' +\fB%%\fR \- a percent symbol: '%' .RE .SH "STAT OPTIONS" .TP @@ -108,11 +108,11 @@ list of the characters that can be used: Display individual lines for each torrent. .TP \fB\-n\fR -Display the name of each torrent. Implies '-i'. +Display the name of each torrent. Implies '\-i'. .SH "START OPTIONS" .TP \fB\-a\fR -Activate all non-active torrents. +Activate all non\-active torrents. .SH "STOP OPTIONS" .TP \fB\-a\fR diff --git a/doc/btinfo.1 b/doc/btinfo.1 index 82141a1..8538c18 100644 --- a/doc/btinfo.1 +++ b/doc/btinfo.1 @@ -24,7 +24,7 @@ Piece size: 524288 Total size: 709871616 Number of files: 1 Files: -osol-0906-x86.iso (709871616) +osol\-0906\-x86.iso (709871616) .fi .SH "TROUBLESHOOTING" If \fBbtpd\fR has shut down for some unknown reason, check the logfile for possible clues. diff --git a/doc/btpd.1 b/doc/btpd.1 index d417a2d..f987751 100644 --- a/doc/btpd.1 +++ b/doc/btpd.1 @@ -63,7 +63,7 @@ Set the protection mode of the command socket. The mode is specified by an octa .B \-\-logfile \fIfile\fR Where to put the logfile. By default it's put in the btpd dir. .TP -.B \-\-max-peers \fIn\fR +.B \-\-max\-peers \fIn\fR Limit the amount of peers to \fIn\fR. .TP .B \-\-max\-uploads n