summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2011-04-29 07:19:20 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2011-04-29 07:19:20 +0000
commit8d089421403388172fcdf03562f6f0442102b15d (patch)
tree0e68f070002b756166ccc1b586d7eaebe3877828 /libexec
parent5186b76fb4ff974ef18daa433c84766ac89376a5 (diff)
-x is currently unimplemented, so comment it out from the man page, and remove
it from usage(); if any developer wants to confirm that it will never be an option, let me know and i'll zap the text entirely; this is one half of a diff from Amit Kulkarni - i won;t be touching the other half;
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/ldd/ldd.122
-rw-r--r--libexec/ld.so/ldd/ldd.c4
2 files changed, 13 insertions, 13 deletions
diff --git a/libexec/ld.so/ldd/ldd.1 b/libexec/ld.so/ldd/ldd.1
index de3cd1f6316..5434fbc5b67 100644
--- a/libexec/ld.so/ldd/ldd.1
+++ b/libexec/ld.so/ldd/ldd.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ldd.1,v 1.8 2009/03/02 09:27:34 sobrado Exp $
+.\" $OpenBSD: ldd.1,v 1.9 2011/04/29 07:19:19 jmc Exp $
.\"
.\" Copyright (c) 1996 Per Fogelstrom
.\"
@@ -24,7 +24,7 @@
.\" SUCH DAMAGE.
.\"
.\"
-.Dd $Mdocdate: March 2 2009 $
+.Dd $Mdocdate: April 29 2011 $
.Dt LDD 1
.Os
.Sh NAME
@@ -32,7 +32,7 @@
.Nd list dynamic object dependencies
.Sh SYNOPSIS
.Nm ldd
-.Op Fl x
+.\".Op Fl x
.Ar program ...
.Sh DESCRIPTION
.Nm
@@ -48,14 +48,14 @@ sets the environment variable
.Ev LD_TRACE_LOADED_OBJECTS
and then execs
.Ar program .
-.Pp
-If
-.Nm
-is invoked with the
-.Fl x
-flag, the tags from
-.Ar program
-are listed without using current ldconfig configuration.
+.\".Pp
+.\"If
+.\".Nm
+.\"is invoked with the
+.\".Fl x
+.\"flag, the tags from
+.\".Ar program
+.\"are listed without using current ldconfig configuration.
.Sh DIAGNOSTICS
Exit status 0 if no error.
Exit status 1 if arg error.
diff --git a/libexec/ld.so/ldd/ldd.c b/libexec/ld.so/ldd/ldd.c
index 2e36089f3fd..7d96eccca20 100644
--- a/libexec/ld.so/ldd/ldd.c
+++ b/libexec/ld.so/ldd/ldd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldd.c,v 1.14 2009/03/02 09:27:34 sobrado Exp $ */
+/* $OpenBSD: ldd.c,v 1.15 2011/04/29 07:19:19 jmc Exp $ */
/*
* Copyright (c) 2001 Artur Grabowski <art@openbsd.org>
* All rights reserved.
@@ -84,7 +84,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-x] program ...\n", __progname);
+ fprintf(stderr, "usage: %s program ...\n", __progname);
exit(1);
}