Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 204521

Summary: app-admin/cronolog: incorrect documentation for previous link long option
Product: Gentoo Linux Reporter: Carlo Marcelo Arenas Belon <carenas>
Component: Current packagesAssignee: Lance Albertson (RETIRED) <ramereth>
Status: RESOLVED FIXED    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=217554
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: use --prev-symlink instead of --prevlink in the documentation as used by the code

Description Carlo Marcelo Arenas Belon 2008-01-06 08:41:57 UTC
$ /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 Carlo Marcelo Arenas Belon 2008-01-06 08:46:25 UTC
Created attachment 140260 [details, diff]
use --prev-symlink instead of --prevlink in the documentation as used by the code
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2008-05-06 20:03:07 UTC
Committed, thanks for the patch!