summaryrefslogtreecommitdiff
path: root/usr.sbin/config/main.c
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-03-20 19:42:15 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-03-20 19:42:15 +0000
commit3dfaa4395e23395349528a970ee104d325018144 (patch)
tree739b749f19f494e252f4edb1295ca77a8352e2db /usr.sbin/config/main.c
parent9088258d6d6f216c3b0f893a051a5a333d3f86b5 (diff)
make synopsis/usage() a little nicer;
Diffstat (limited to 'usr.sbin/config/main.c')
-rw-r--r--usr.sbin/config/main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/config/main.c b/usr.sbin/config/main.c
index e0d0d4c45e2..1e8c5515248 100644
--- a/usr.sbin/config/main.c
+++ b/usr.sbin/config/main.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: main.c,v 1.38 2005/11/12 15:40:09 deraadt Exp $ */
+/* $OpenBSD: main.c,v 1.39 2007/03/20 19:42:14 jmc Exp $ */
/* $NetBSD: main.c,v 1.22 1997/02/02 21:12:33 thorpej Exp $ */
/*
@@ -89,9 +89,11 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-p] [-s srcdir] [-b builddir] [sysname]\n",
- __progname);
- fprintf(stderr, " %s -e [-u] [-f | -o newkernel] kernel\n", __progname);
+ fprintf(stderr,
+ "usage: %s [-p] [-b builddir] [-s srcdir] [config-file]\n"
+ " %s [-u] [-f | -o outfile] -e infile\n",
+ __progname, __progname);
+
exit(1);
}