Bug 204521 - app-admin/cronolog: incorrect documentation for previous link long option
Bug#: 204521 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: trivial Priority: P2
Resolution: FIXED Assigned To: ramereth@gentoo.org Reported By: carenas@sajinet.com.pe
Component: Applications
URL:  http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=217554
Summary: app-admin/cronolog: incorrect documentation for previous link long option
Keywords:  
Status Whiteboard: 
Opened: 2008-01-06 08:41 0000
Description:   Opened: 2008-01-06 08:41 0000
$ /usr/sbin/cronolog --help 2>&1 | grep prev
   -P NAME,   --prev-symlink=NAME  maintain a symbolic link from NAME to
previous log

but cronolog.1m says instead the long option for -P is :

       --prevlink=NAME
              maintain a symbolic link from NAME to  the  previous  log  file.
              Requires  that  the  --symlink  option is specified, as cronolog
              renames the current link to the name specified for the  previous
              link.

------- Comment #1 From Carlo Marcelo Arenas Belon 2008-01-06 08:46:25 0000 -------
Created an attachment (id=140260) [details]
use --prev-symlink instead of --prevlink in the documentation as used by the
code

------- Comment #2 From Lance Albertson 2008-05-06 20:03:07 0000 -------
Committed, thanks for the patch!