summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2014-10-30 15:05:06 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2014-10-30 15:05:06 +0000
commit33f8b74a14dbb364d3a1146f50fffb3c93e7c1ee (patch)
treefa3ca7b9c468c7ea6b393ca09bf0f5aca34c3e52 /usr.bin
parentb67808b55aeda6a775d8cf99d4d98f65bab682fb (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.c6
-rw-r--r--usr.bin/mandoc/mandoc.14
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