From b30c3c3ead7f853efa6119905f0f545a0895b1d7 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 18 Dec 2014 21:11:46 +0000 Subject: update usage() and the list of non-standard (i.e. non-posix) options; from jmc@ --- main.c | 8 +++++--- man.1 | 6 +++--- 2 files changed, 8 insertions(+), 6 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 * Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze @@ -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 8a67dee6..65db3861 100644 --- a/man.1 +++ b/man.1 @@ -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 , -- cgit v1.2.3-56-ge451