From owner-freebsd-bugs Thu Nov 21 02:40:12 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA17007 for bugs-outgoing; Thu, 21 Nov 1996 02:40:12 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA16989; Thu, 21 Nov 1996 02:40:08 -0800 (PST) Resent-Date: Thu, 21 Nov 1996 02:40:08 -0800 (PST) Resent-Message-Id: <199611211040.CAA16989@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, nawaz921@cs.uidaho.edu Received: from zork.hungry.com (dialin124.csrv.uidaho.edu [129.101.112.134]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA16746 for ; Thu, 21 Nov 1996 02:34:40 -0800 (PST) Received: (from fn@localhost) by zork.hungry.com (8.8.2/8.6.9) id CAA00731; Thu, 21 Nov 1996 02:34:07 -0800 (PST) Message-Id: <199611211034.CAA00731@zork.hungry.com> Date: Thu, 21 Nov 1996 02:34:07 -0800 (PST) From: fn@uidaho.edu Reply-To: nawaz921@cs.uidaho.edu To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: gnu/2075: ldd usage() output doesn't match reality/man page Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >Number: 2075 >Category: gnu >Synopsis: ldd usage() output doesn't match reality/man page >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Nov 21 02:40:04 PST 1996 >Last-Modified: >Originator: faried nawaz >Organization: Hungry Programmers, Inc. >Release: FreeBSD 3.0-CURRENT i386 >Environment: 3.0-current, dx4-100, a cold unheated living room in moscow, idaho. >Description: ldd takes '-f format' and '-v' options; the man page & code shows this but the output of ldd's usage() function doesn't. found this thanks to a ref to 'ldd -v' by bde@freebsd.org in email. >How-To-Repeat: man ldd more src/gnu/usr.bin/ld/ldd/ldd.c and cf with % ldd >Fix: *** ldd.c~ Thu Nov 21 02:25:52 1996 --- ldd.c Thu Nov 21 02:27:08 1996 *************** *** 52,58 **** { extern char *__progname; ! fprintf(stderr, "Usage: %s ...\n", __progname); exit(1); } --- 52,59 ---- { extern char *__progname; ! fprintf(stderr, "Usage: %s [-f format] [-v] ...\n", ! __progname); exit(1); } >Audit-Trail: >Unformatted: