summaryrefslogtreecommitdiffstats
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
commitb657e31a9ec6631499c82ab01201bfb7db357ba3 (patch)
treeb4d902aaa9d17e0684c61f1912c194589fb05bc1 /main.c
parent858ffa5feefe929dcf0dabf5d771106577f1d9e7 (diff)
downloadmandoc-b657e31a9ec6631499c82ab01201bfb7db357ba3.tar.gz
-man linked to mandoc in documentation.
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/main.c b/main.c
index 1016e31d..f6ed5af6 100644
--- a/main.c
+++ b/main.c
@@ -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 */
}