summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsobrado <sobrado@openbsd.org>2009-08-08 19:37:14 +0000
committersobrado <sobrado@openbsd.org>2009-08-08 19:37:14 +0000
commit2f51f1157a19664cd7506d3f692efb7863770e7f (patch)
tree4190f444af39dd1b8b2be75ed50082cbea9d4fad
parentsync with code change for mailq in smtpctl (diff)
downloadwireguard-openbsd-2f51f1157a19664cd7506d3f692efb7863770e7f.tar.xz
wireguard-openbsd-2f51f1157a19664cd7506d3f692efb7863770e7f.zip
synchronize usage displayed by mklocale with synopsis in the manual page;
add missing cvs keywords to source code files; while here, fix cvs keywords in Makefile because they are in reverse order. ok jmc@, martynas@
-rw-r--r--usr.bin/mklocale/Makefile2
-rw-r--r--usr.bin/mklocale/ldef.h1
-rw-r--r--usr.bin/mklocale/lex.l1
-rw-r--r--usr.bin/mklocale/yacc.y5
4 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/mklocale/Makefile b/usr.bin/mklocale/Makefile
index a30e04c221a..a960bc5f259 100644
--- a/usr.bin/mklocale/Makefile
+++ b/usr.bin/mklocale/Makefile
@@ -1,5 +1,5 @@
+# $OpenBSD: Makefile,v 1.2 2009/08/08 19:37:14 sobrado Exp $
# $NetBSD: Makefile,v 1.11 2003/08/01 17:04:04 lukem Exp $
-# $OpenBSD: Makefile,v 1.1 2005/08/07 10:06:25 espie Exp $
.include <bsd.own.mk>
diff --git a/usr.bin/mklocale/ldef.h b/usr.bin/mklocale/ldef.h
index 2431a870a75..e44e08af97b 100644
--- a/usr.bin/mklocale/ldef.h
+++ b/usr.bin/mklocale/ldef.h
@@ -1,3 +1,4 @@
+/* $OpenBSD: ldef.h,v 1.2 2009/08/08 19:37:14 sobrado Exp $ */
/* $NetBSD: ldef.h,v 1.4 2003/08/07 11:15:14 agc Exp $ */
/*-
diff --git a/usr.bin/mklocale/lex.l b/usr.bin/mklocale/lex.l
index ab56f2ed96c..77245bc2069 100644
--- a/usr.bin/mklocale/lex.l
+++ b/usr.bin/mklocale/lex.l
@@ -1,3 +1,4 @@
+/* $OpenBSD: lex.l,v 1.2 2009/08/08 19:37:14 sobrado Exp $ */
/* $NetBSD: lex.l,v 1.13 2003/10/27 00:12:43 lukem Exp $ */
%{
diff --git a/usr.bin/mklocale/yacc.y b/usr.bin/mklocale/yacc.y
index e3c81d70c5e..48f9f284ac4 100644
--- a/usr.bin/mklocale/yacc.y
+++ b/usr.bin/mklocale/yacc.y
@@ -1,3 +1,4 @@
+/* $OpenBSD: yacc.y,v 1.3 2009/08/08 19:37:14 sobrado Exp $ */
/* $NetBSD: yacc.y,v 1.24 2004/01/05 23:23:36 jmmv Exp $ */
%{
@@ -257,7 +258,9 @@ main(int ac, char *av[])
break;
default:
usage:
- fprintf(stderr, "usage: mklocale [-d] [-o output] [source]\n");
+ fprintf(stderr,
+ "usage: mklocale [-d] [src-file] language/LC_CTYPE\n"
+ " mklocale [-d] -o language/LC_CTYPE src-file\n");
exit(1);
}
}