Bug 154788

Summary: ldd -V option broken
Product: [Fedora] Fedora Reporter: M. LaPlante <bugzilla>
Component: man-pagesAssignee: Jiri Ryska <jryska>
Status: CLOSED RAWHIDE QA Contact: Ben Levenson <benl>
Severity: low Docs Contact:
Priority: medium    
Version: 3   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: man-pages-2.05-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-07-04 14:55:40 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:

Description M. LaPlante 2005-04-14 06:27:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2

Description of problem:
Small bug... from the ldd manpage:
NAME
       ldd - print shared library dependencies
OPTIONS
       -V --version
              Print the version number of ldd.

However with this build of ldd, --version works and -V does not (print unknown command):

[root@host ~]# ldd -V
ldd: unrecognized option `-V'
Try `ldd --help' for more information.
[root@barricade ~]# ldd --version      
ldd (GNU libc) 2.3.5
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.
[root@host ~]# 

Version-Release number of selected component (if applicable):
ldd (GNU libc) 2.3.5; glibc-common-2.3.5-0.fc3.1

How reproducible:
Always

Steps to Reproduce:
run ldd -V with glibc-common-2.3.5-0.fc3.1 installed

Additional info:

Comment 1 Jakub Jelinek 2005-04-15 18:56:56 UTC
No, the bug is in the man page.  See ldd --help for the real list
of options, -V is not among them, only --version is.