aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-10-30 17:15:28 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-10-30 17:15:28 +0000
commitcecb299f4405e3c5873b59d74e49a715a4bfe208 (patch)
tree5f5f26cdf5623f029ad0e9519baf743bc235620c /main.c
parenta1545f882ccbd91087847e72e590814038b5ea23 (diff)
downloadmandoc-cecb299f4405e3c5873b59d74e49a715a4bfe208.tar.gz
mandoc-cecb299f4405e3c5873b59d74e49a715a4bfe208.tar.zst
mandoc-cecb299f4405e3c5873b59d74e49a715a4bfe208.zip
add -K to usage() and wrap nicely; from jmc@
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/main.c b/main.c
index 79a2ddd6..0ff8b618 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.195 2014/10/28 17:36:19 schwarze Exp $ */
+/* $Id: main.c,v 1.196 2014/10/30 17:15:28 schwarze Exp $ */
/*
* Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011, 2012, 2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -443,8 +443,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] "