Red Hat Bugzilla – Bug 249792
the option '--usage' does not exist, should be deleted from the manpage
Last modified: 2008-05-21 11:59:47 EDT
Description of problem:
the option '--usage' does not exist, so the description about this nonexistent
option should be deleted from the manpage.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.execute command "man logwatch"
the description about option '--usage' exists
the description about option '--usage' should be deleted
Created attachment 160086 [details]
the patch to the logwatch manpage
We cannot use option "--usage" to get the usage information, but option "--
help" can be used to get the usage information.
And in the code of logwatch, there are no relative codes about option "--
usage", so I think the description in the manpage should be deleted.
[root@localhost ~]# logwatch --usage
Unknown option: usage
[root@localhost ~]# logwatch --help
Usage: /usr/sbin/logwatch [--detail <level>] [--logfile <name>]
[--print] [--mailto <addr>] [--archives] [--range <range>] [--debug <level>]
[--save <filename>] [--help] [--version] [--service <name>]
[--numeric] [--output <output_type>]
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
I also report this bug to logwatch development maillist, the maintainer think
option "--usage" should be added.
I created a patch for this bug, please use it.
Created attachment 291786 [details]
add option "--usage" for logwatch
The maintainer think option "--usage" should be added, please refer to:
> Hello Yu,
> Since --usage is already documented, I added the option to logwatch
> instead. The new version allows --usage.
> If other's disagree with this change, I'll revert and remove --usage
> from the documentation.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.