1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162
|
Description: fix manpages errors
* change a invalid .C nroff macro to .B macro.
* some lintian warning fixed.
* added --print-invalid in cronosplit manpage.
* change "/www/sbin/cronolog" to "/usr/bin/cronolog" in example.
Author: Maxime Chatelle <mmyc@gmx.com>
Forwarded: no
Last-Update: 2011-06-05
Index: cronolog-1.6.2/doc/cronolog.1m
===================================================================
--- cronolog-1.6.2.orig/doc/cronolog.1m 2011-06-04 02:13:51.374919134 +0200
+++ cronolog-1.6.2/doc/cronolog.1m 2011-06-04 03:07:52.314917891 +0200
@@ -29,7 +29,7 @@
if not it closes the current file, expands the template using the
current date and time to generate a new file name, opens the new file
(creating missing directories on the path of the new log file as
-needed unless the program is compiled with -DDONT_CREATE_SUBDIRS) and
+needed unless the program is compiled with \-DDONT_CREATE_SUBDIRS) and
calculates the time at which the new file will become invalid.
.PP
.B cronolog
@@ -37,8 +37,8 @@
Apache to split the access log into daily or monthly logs. For
example the Apache configuration directives:
.LP
- TransferLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/access.log"
- ErrorLog "|/www/sbin/cronolog /www/logs/%Y/%m/%d/errors.log"
+ TransferLog "|/usr/bin/cronolog /www/logs/%Y/%m/%d/access.log"
+ ErrorLog "|/usr/bin/cronolog /www/logs/%Y/%m/%d/errors.log"
.LP
would instruct Apache to pipe its access and error log messages into
separate copies of cronolog, which would create new log files each day
@@ -59,7 +59,7 @@
ErrorLog directive.)
.SH Options
-.C cronolog
+.B cronolog
accepts the following options and arguments:
.\"
.IP "-H \fINAME\fP"
@@ -85,8 +85,8 @@
option is specified, as cronolog renames the current link to the name
specified for the previous link.
.\"
-.IP -h
-.IP --help
+.IP "-h"
+.IP "--help"
print a help message and then exit.
.\"
.IP "-p \fIPERIOD\fP"
@@ -129,19 +129,19 @@
seconds are omitted then they are taken as zero and if the hours and
minutes are omitted then the time of day is taken as 00:00:00
(i.e. midnight). The day, month and year can be separated by spaces,
-hyphens (-) or solidi (/).
+hyphens (\-) or solidi (/).
.\"
-.IP -a
-.IP --american
+.IP "-a"
+.IP "--american"
Interprete the date part of the starting time the American way (month
then day).
-.IP -e
-.IP --european
+.IP "-e"
+.IP "--european"
Interprete the date part of the starting time the European way (day
then month). This is the default.
.\"
-.IP -v
-.IP --version
+.IP "-v"
+.IP "--version"
print version information and exit.
.\"
.\"
@@ -159,7 +159,7 @@
.IP %
a literal % character
.IP n
-a new-line character
+a new\-line character
.IP t
a horizontal tab character
.PP
@@ -226,7 +226,7 @@
.B cronolog
can be obtained from
.LP
- http://www.ford-mason.co.uk/resources/cronolog/
+ http://www.ford\-mason.co.uk/resources/cronolog/
.LP
If you have any suggestions, bug reports, fixes, or enhancements,
please mail them to the author.
@@ -245,7 +245,7 @@
(template), for example where different virtual servers write to the
same set of log files.
.SH AUTHOR
-Andrew Ford <A.Ford@ford-mason.co.uk>
+Andrew Ford <A.Ford@ford\-mason.co.uk>
.LP
.B cronolog
is based on a program called
Index: cronolog-1.6.2/doc/cronosplit.1m
===================================================================
--- cronolog-1.6.2.orig/doc/cronosplit.1m 2011-06-05 16:37:43.722866088 +0200
+++ cronolog-1.6.2/doc/cronosplit.1m 2011-06-08 18:15:04.645929608 +0200
@@ -11,7 +11,7 @@
.\"
.SH SYNOPSIS
.B cronosplit
---template=TEMPLATE [--print-invalid] [--help] [--version] file ...
+\-\-template=TEMPLATE [\-\-print\-invalid] [\-\-help] [\-\-version] file ...
.\"
.SH DESCRIPTION
.B cronosplit
@@ -30,11 +30,13 @@
function).
.\"
.SH Options
-.C cronosplit
+.B cronosplit
accepts the following options and arguments:
.IP "--template=\fITEMPLATE\fP"
specifies the template for the output log files (using the format
specifiers described below).
+.IP "--print-invalid"
+print invalid log file entries to the standard error stream.
.IP "--verbose"
print additional status messages to the standard error stream.
.IP "--debug"
@@ -52,7 +54,7 @@
.IP %
a literal % character
.IP n
-a new-line character
+a new\-line character
.IP t
a horizontal tab character
.PP
@@ -122,7 +124,7 @@
.B cronosplit
can be obtained from
.LP
- http://www.ford-mason.co.uk/resources/cronolog/
+ http://www.ford\-mason.co.uk/resources/cronolog/
.LP
If you have any suggestions, bug reports, fixes, or enhancements,
please mail them to the author.
@@ -131,7 +133,7 @@
.LP
http://www.apache.org
.SH AUTHOR
-Andrew Ford <A.Ford@ford-mason.co.uk>
+Andrew Ford <A.Ford@ford\-mason.co.uk>
.LP
.B cronosplit
is based on a script called
|