summaryrefslogtreecommitdiff
path: root/usr.bin/nm
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2007-08-06 19:16:08 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2007-08-06 19:16:08 +0000
commitd569c9b0c585d1ada0bb33679611b77eba528140 (patch)
treeaf2426db3e795320f587d155021169a3f1700b3e /usr.bin/nm
parent602a7968e47e34fd38658741b7b66d3c9115f9cf (diff)
the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands lots of good ideas by jmc@ ok jmc@
Diffstat (limited to 'usr.bin/nm')
-rw-r--r--usr.bin/nm/nm.16
-rw-r--r--usr.bin/nm/nm.c6
-rw-r--r--usr.bin/nm/size.16
3 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/nm/nm.1 b/usr.bin/nm/nm.1
index 89c27c43394..1466c17b7b2 100644
--- a/usr.bin/nm/nm.1
+++ b/usr.bin/nm/nm.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: nm.1,v 1.19 2007/05/31 19:20:14 jmc Exp $
+.\" $OpenBSD: nm.1,v 1.20 2007/08/06 19:16:06 sobrado Exp $
.\" $NetBSD: nm.1,v 1.3 1995/08/31 23:41:58 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)nm.1 8.1 (Berkeley) 6/6/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 6 2007 $
.Dt NM 1
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Sh SYNOPSIS
.Nm nm
.Op Fl aCegnoprsuVw
-.Op Ar file ...
+.Op Ar
.Sh DESCRIPTION
The symbol table (name list) of each object in
.Ar file(s)
diff --git a/usr.bin/nm/nm.c b/usr.bin/nm/nm.c
index a6416656072..daf2cfb3715 100644
--- a/usr.bin/nm/nm.c
+++ b/usr.bin/nm/nm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nm.c,v 1.29 2005/01/03 14:49:39 espie Exp $ */
+/* $OpenBSD: nm.c,v 1.30 2007/08/06 19:16:06 sobrado Exp $ */
/* $NetBSD: nm.c,v 1.7 1996/01/14 23:04:03 pk Exp $ */
/*
@@ -42,7 +42,7 @@ static const char copyright[] =
#if 0
static const char sccsid[] = "@(#)nm.c 8.1 (Berkeley) 6/6/93";
#endif
-static const char rcsid[] = "$OpenBSD: nm.c,v 1.29 2005/01/03 14:49:39 espie Exp $";
+static const char rcsid[] = "$OpenBSD: nm.c,v 1.30 2007/08/06 19:16:06 sobrado Exp $";
#include <sys/param.h>
#include <sys/mman.h>
@@ -1081,7 +1081,7 @@ usage(void)
if (issize)
fprintf(stderr, "usage: %s [-tw] [file ...]\n", __progname);
else
- fprintf(stderr, "usage: %s [-aABCegnoprsuvVw] [file ...]\n",
+ fprintf(stderr, "usage: %s [-aCegnoprsuVw] [file ...]\n",
__progname);
exit(1);
}
diff --git a/usr.bin/nm/size.1 b/usr.bin/nm/size.1
index d5eb0944df0..67530ad58d8 100644
--- a/usr.bin/nm/size.1
+++ b/usr.bin/nm/size.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: size.1,v 1.4 2007/05/31 19:20:14 jmc Exp $
+.\" $OpenBSD: size.1,v 1.5 2007/08/06 19:16:06 sobrado Exp $
.\" $NetBSD: size.1,v 1.6 1996/01/14 23:07:11 pk Exp $
.\"
.\" Copyright (c) 1990, 1993, 1994
@@ -30,7 +30,7 @@
.\"
.\" @(#)size.1 8.2 (Berkeley) 4/18/94
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 6 2007 $
.Dt SIZE 1
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Sh SYNOPSIS
.Nm size
.Op Fl tw
-.Op Ar file Ar ...
+.Op Ar
.Sh DESCRIPTION
.Nm
displays the text, data and bss segment sizes of the specified