summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2006-03-23 08:01:03 +0000
committerMarc Espie <espie@cvs.openbsd.org>2006-03-23 08:01:03 +0000
commitc24819d3ee85de1bf2c7f47b1206f2b1f410591e (patch)
tree3207f368f414be17ed43d21322f61337762ffd8f /usr.bin
parentaee9de629c086041d8d15a6e6201c744b617a842 (diff)
simply set up format only when we see -g.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/m4/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/m4/main.c b/usr.bin/m4/main.c
index 4a4cc22baf4..58724a62d5c 100644
--- a/usr.bin/m4/main.c
+++ b/usr.bin/m4/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.72 2006/03/23 07:57:05 espie Exp $ */
+/* $OpenBSD: main.c,v 1.73 2006/03/23 08:01:02 espie Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
@@ -204,6 +204,7 @@ main(int argc, char *argv[])
break;
case 'g':
mimic_gnu = 1;
+ setup_builtin("format", FORMATTYPE);
break;
case 'd':
set_trace_flags(optarg);