summaryrefslogtreecommitdiff
path: root/usr.bin/mklocale
diff options
context:
space:
mode:
authorIgor Sobrado <sobrado@cvs.openbsd.org>2009-08-08 19:37:15 +0000
committerIgor Sobrado <sobrado@cvs.openbsd.org>2009-08-08 19:37:15 +0000
commitf6d7dbb0975b287d64cba534b99067f8e3da78f8 (patch)
tree3016ca088d3d3a3a3907b5cf95ea9f248efe0538 /usr.bin/mklocale
parent165636dbd06b3695e6ede75e8b4cc3a4634d1cf8 (diff)
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@
Diffstat (limited to 'usr.bin/mklocale')
-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);
}
}