summaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:41:09 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-03-23 15:41:09 +0000
commit364660607f78ece4469bf93ed5a754c04ec61847 (patch)
tree98a745094e489116617f1e7baa6ab167c9c4ed3e /main.c
parent1b03ebdce412e8ef752ed49e9aba8d666cdc9bf2 (diff)
downloadmandoc-364660607f78ece4469bf93ed5a754c04ec61847.tar.gz
mandoc-364660607f78ece4469bf93ed5a754c04ec61847.tar.zst
mandoc-364660607f78ece4469bf93ed5a754c04ec61847.zip
-man linked to mandoc in documentation.
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/main.c b/main.c
index 6e0ed5c8..3601b7af 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.11 2009/03/23 15:20:51 kristaps Exp $ */
+/* $Id: main.c,v 1.12 2009/03/23 15:41:09 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@openbsd.org>
*
@@ -271,7 +271,9 @@ __dead static void
usage(void)
{
- (void)fprintf(stderr, "usage: %s\n", __progname);
+ (void)fprintf(stderr, "usage: %s [-V] [-foption...] "
+ "[-mformat] [-Toutput] [-Werr...]\n",
+ __progname);
exit(1);
/* NOTREACHED */
}