diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-18 21:11:46 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-12-18 21:11:46 +0000 |
commit | b30c3c3ead7f853efa6119905f0f545a0895b1d7 (patch) | |
tree | 8db1dcb0c18aecd76c680481492e30a97905c1fa | |
parent | 6e90fac7fec4b2dee047eafedfb9674274f48963 (diff) | |
download | mandoc-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@
-rw-r--r-- | main.c | 8 | ||||
-rw-r--r-- | man.1 | 6 |
2 files changed, 8 insertions, 6 deletions
@@ -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: @@ -1,4 +1,4 @@ -.\" $Id: man.1,v 1.8 2014/12/17 20:04:23 schwarze Exp $ +.\" $Id: man.1,v 1.9 2014/12/18 21:11:46 schwarze Exp $ .\" .\" Copyright (c) 1989, 1990, 1993 .\" The Regents of the University of California. All rights reserved. @@ -31,7 +31,7 @@ .\" .\" @(#)man.1 8.2 (Berkeley) 1/2/94 .\" -.Dd $Mdocdate: December 17 2014 $ +.Dd $Mdocdate: December 18 2014 $ .Dt MAN 1 .Os .Sh NAME @@ -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 , |