Bug 517309

Summary: zdump manpage does not match the real options
Product: Red Hat Enterprise Linux 5 Reporter: Karel Volný <kvolny>
Component: man-pagesAssignee: Ivana Varekova <varekova>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.3CC: rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 858240 (view as bug list) Environment:
Last Closed: 2009-11-11 09:14:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 858240    

Description Karel Volný 2009-08-13 13:15:54 UTC
Description of problem:
this is the usage message:

zdump: usage is zdump [ --version ] [ -v ] [ -c [loyear,]hiyear ] zonename ...

and this is the SYNOPSIS in manpage:

zdump [ -v ] [ -c cutoffyear ] [ zonename ... ]


the manpage
1) does not list the "--version" option
2) describes only one parameter to the "-c" option while two can be used


Version-Release number of selected component (if applicable):
glibc-common-2.5-34.el5_3.1

How reproducible:
always

Steps to Reproduce:
1. zdump --help
2. man zdump
  
Actual results:
.qa.[root@ppcp-5s-m1 tps]# zdump --help
zdump: invalid option -- -
zdump: usage is zdump [ --version ] [ -v ] [ -c [loyear,]hiyear ] zonename ...

(see above)

Expected results:
(zdump accepts the --help option)
(see above)

Additional info:
Note that while I do not make it the explicit point of this report, as this is only vaguely connected with it, I would also like the zdump to accept the widely used "--help" option to print the usage message without complaining. But before opening separate bugreport, I'd like to ask if it is reasonable RFE to have this option implemented?

Comment 1 Andreas Schwab 2009-08-17 12:15:29 UTC
The manpage is not part of glibc.

Comment 9 errata-xmlrpc 2009-11-11 09:14:18 UTC
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 therefore 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.

http://rhn.redhat.com/errata/RHBA-2009-1574.html