diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-10-30 15:05:06 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2014-10-30 15:05:06 +0000 |
commit | 33f8b74a14dbb364d3a1146f50fffb3c93e7c1ee (patch) | |
tree | fa3ca7b9c468c7ea6b393ca09bf0f5aca34c3e52 /usr.bin | |
parent | b67808b55aeda6a775d8cf99d4d98f65bab682fb (diff) |
mandoc.1: fix a macro error in previous
main.c: add -K to usage() and wrap nicely
ok schwarze
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/main.c | 6 | ||||
-rw-r--r-- | usr.bin/mandoc/mandoc.1 | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c index 8a14d547f81..6d6decc7ee8 100644 --- a/usr.bin/mandoc/main.c +++ b/usr.bin/mandoc/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.103 2014/10/30 00:05:02 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.104 2014/10/30 15:05:05 jmc Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -426,8 +426,8 @@ usage(enum argmode argmode) switch (argmode) { case ARG_FILE: fputs("usage: mandoc [-acfhklV] [-Ios=name] " - "[-mformat] [-Ooption] [-Toutput] [-Wlevel]\n" - "\t [file ...]\n", stderr); + "[-Kencoding] [-mformat] [-Ooption]\n" + "\t [-Toutput] [-Wlevel] [file ...]\n", stderr); break; case ARG_NAME: fputs("usage: man [-acfhklVw] [-C file] " diff --git a/usr.bin/mandoc/mandoc.1 b/usr.bin/mandoc/mandoc.1 index 625ea0bdbba..931d4b31da4 100644 --- a/usr.bin/mandoc/mandoc.1 +++ b/usr.bin/mandoc/mandoc.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mandoc.1,v 1.64 2014/10/30 00:05:02 schwarze Exp $ +.\" $OpenBSD: mandoc.1,v 1.65 2014/10/30 15:05:05 jmc Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -27,7 +27,7 @@ .Sm off .Op Fl I Cm os Li = Ar name .Sm on -.Op Fl K Na Ar encoding +.Op Fl K Ns Ar encoding .Op Fl m Ns Ar format .Op Fl O Ns Ar option .Op Fl T Ns Ar output |