summaryrefslogtreecommitdiff
path: root/usr.bin/ranlib/ranlib.c
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/ranlib/ranlib.c
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/ranlib/ranlib.c')
-rw-r--r--usr.bin/ranlib/ranlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ranlib/ranlib.c b/usr.bin/ranlib/ranlib.c
index 3a908e5f51f..9ee20b64d15 100644
--- a/usr.bin/ranlib/ranlib.c
+++ b/usr.bin/ranlib/ranlib.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ranlib.c,v 1.6 2003/06/12 20:58:10 deraadt Exp $ */
+/* $OpenBSD: ranlib.c,v 1.7 2007/08/06 19:16:06 sobrado Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)ranlib.c 5.6 (Berkeley) 2/26/91";*/
-static char rcsid[] = "$OpenBSD: ranlib.c,v 1.6 2003/06/12 20:58:10 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: ranlib.c,v 1.7 2007/08/06 19:16:06 sobrado Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -86,6 +86,6 @@ main(int argc, char *argv[])
static void
usage(void)
{
- (void)fprintf(stderr, "usage: ranlib [-t] archive ...\n");
+ (void)fprintf(stderr, "usage: ranlib [-t] file ...\n");
exit(1);
}