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 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 +Andrew Ford .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 +Andrew Ford .LP .B cronosplit is based on a script called