diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-11-22 13:58:03 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-11-22 13:58:03 +0000 |
| commit | b988beb8f9def51db0a95d4209dccc6e3ce91ce7 (patch) | |
| tree | 33623882a5745c9fe600e15a34c50f574d52a429 | |
| parent | a13e275f664b4542f7951230116e20ac04a2259a (diff) | |
Notes
| -rw-r--r-- | gnu/usr.bin/ld/ldd/ldd.c | 6 | ||||
| -rw-r--r-- | usr.bin/ldd/ldd.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/gnu/usr.bin/ld/ldd/ldd.c b/gnu/usr.bin/ld/ldd/ldd.c index cfa07a5d10ee..94c888903b68 100644 --- a/gnu/usr.bin/ld/ldd/ldd.c +++ b/gnu/usr.bin/ld/ldd/ldd.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ldd.c,v 1.7 1996/10/01 02:16:15 peter Exp $ + * $Id: ldd.c,v 1.8 1996/10/29 18:45:20 peter Exp $ */ #include <sys/types.h> @@ -52,7 +52,9 @@ usage() { extern char *__progname; - fprintf(stderr, "Usage: %s <filename> ...\n", __progname); + fprintf(stderr, "Usage: %s [-f format] [-v] <filename> ...\n", + __progname); + exit(1); } diff --git a/usr.bin/ldd/ldd.c b/usr.bin/ldd/ldd.c index cfa07a5d10ee..94c888903b68 100644 --- a/usr.bin/ldd/ldd.c +++ b/usr.bin/ldd/ldd.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: ldd.c,v 1.7 1996/10/01 02:16:15 peter Exp $ + * $Id: ldd.c,v 1.8 1996/10/29 18:45:20 peter Exp $ */ #include <sys/types.h> @@ -52,7 +52,9 @@ usage() { extern char *__progname; - fprintf(stderr, "Usage: %s <filename> ...\n", __progname); + fprintf(stderr, "Usage: %s [-f format] [-v] <filename> ...\n", + __progname); + exit(1); } |
