]> git.cameronkatri.com Git - mandoc.git/commitdiff
add -K to usage() and wrap nicely; from jmc@
authorIngo Schwarze <schwarze@openbsd.org>
Thu, 30 Oct 2014 17:15:28 +0000 (17:15 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Thu, 30 Oct 2014 17:15:28 +0000 (17:15 +0000)
main.c

diff --git a/main.c b/main.c
index 79a2ddd6fd1dd534c9bbfe563c6fc1288299c844..0ff8b6184d830585ce16602302e64e82dffda76a 100644 (file)
--- 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] "