Bug 517309 - zdump manpage does not match the real options
Summary: zdump manpage does not match the real options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: man-pages
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Ivana Varekova
QA Contact: BaseOS QE
URL:
Whiteboard:
Depends On:
Blocks: 858240
TreeView+ depends on / blocked
 
Reported: 2009-08-13 13:15 UTC by Karel Volný
Modified: 2013-04-15 09:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 858240 (view as bug list)
Environment:
Last Closed: 2009-11-11 09:14:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1574 0 normal SHIPPED_LIVE man-pages bug fix update 2009-11-11 09:13:32 UTC

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


Note You need to log in before you can comment on or make changes to this bug.