summaryrefslogtreecommitdiffstats
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
commitfb223c54c7d41a098ab77102f18292a41eb1a7ea (patch)
tree72298eecd31cc67969987de0735f253d518cda52
parent8ef308757ad86997cd73f49e0d336be4f912a4b7 (diff)
downloadmandoc-fb223c54c7d41a098ab77102f18292a41eb1a7ea.tar.gz
update usage() and the list of non-standard (i.e. non-posix) options;
from jmc@
-rw-r--r--main.c6
-rw-r--r--man.12
2 files changed, 5 insertions, 3 deletions
diff --git a/main.c b/main.c
index 16dbfc3a..940f0793 100644
--- a/main.c
+++ b/main.c
@@ -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:
diff --git a/man.1 b/man.1
index d6bbb704..88ac444e 100644
--- a/man.1
+++ b/man.1
@@ -412,7 +412,7 @@ utility is compliant with the
specification.
.Pp
The flags
-.Op Fl aCcfhMmSsw ,
+.Op Fl aCcfhIKlMmOSsTVWw ,
as well as the environment variables
.Ev MACHINE ,
.Ev MANPAGER ,