aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-12-18 21:11:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-12-18 21:11:46 +0000
commitb30c3c3ead7f853efa6119905f0f545a0895b1d7 (patch)
tree8db1dcb0c18aecd76c680481492e30a97905c1fa /main.c
parent6e90fac7fec4b2dee047eafedfb9674274f48963 (diff)
downloadmandoc-b30c3c3ead7f853efa6119905f0f545a0895b1d7.tar.gz
mandoc-b30c3c3ead7f853efa6119905f0f545a0895b1d7.tar.zst
mandoc-b30c3c3ead7f853efa6119905f0f545a0895b1d7.zip
update usage() and the list of non-standard (i.e. non-posix) options;
from jmc@
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index 174b4ca8..345cf318 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.207 2014/12/17 18:45:35 schwarze Exp $ */
+/* $Id: main.c,v 1.208 2014/12/18 21:11:46 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -488,8 +488,10 @@ usage(enum argmode argmode)
"\t [-Toutput] [-Wlevel] [file ...]\n", stderr);
break;
case ARG_NAME:
- fputs("usage: man [-acfhklVw] [-C file] "
- "[-M path] [-m path] [-S arch] [-s section]\n"
+ fputs("usage: man [-acfhklVw] [-C file] [-I os=name] "
+ "[-K encoding] [-M path] [-m path]\n"
+ "\t [-O option=value] [-S subsection] [-s section] "
+ "[-T output] [-W level]\n"
"\t [section] name ...\n", stderr);
break;
case ARG_WORD: