diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-03 12:17:25 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-03 12:17:25 +0000 |
commit | 3f480d9d158e76fb6d13b7e2c3675f729ee52727 (patch) | |
tree | 7ed2277a0760fa7745e3011d05be894aaa4c9410 | |
parent | a83ae757baf7eaab8523c0c7bd2bf5974eec34a8 (diff) | |
download | mandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.tar.gz mandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.tar.zst mandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.zip |
enable -Wstyle by default in -Tlint; OK jmc@
-rw-r--r-- | main.c | 4 | ||||
-rw-r--r-- | mandoc.1 | 8 |
2 files changed, 6 insertions, 6 deletions
@@ -1,4 +1,4 @@ -/* $Id: main.c,v 1.291 2017/05/17 23:39:31 schwarze Exp $ */ +/* $Id: main.c,v 1.292 2017/06/03 12:17:25 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -937,7 +937,7 @@ toptions(struct curparse *curp, char *arg) curp->outtype = OUTT_ASCII; else if (0 == strcmp(arg, "lint")) { curp->outtype = OUTT_LINT; - curp->wlevel = MANDOCLEVEL_WARNING; + curp->wlevel = MANDOCLEVEL_STYLE; } else if (0 == strcmp(arg, "tree")) curp->outtype = OUTT_TREE; else if (0 == strcmp(arg, "man")) @@ -1,4 +1,4 @@ -.\" $Id: mandoc.1,v 1.192 2017/06/01 15:25:39 schwarze Exp $ +.\" $Id: mandoc.1,v 1.193 2017/06/03 12:17:25 schwarze Exp $ .\" .\" Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> .\" Copyright (c) 2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: June 1 2017 $ +.Dd $Mdocdate: June 3 2017 $ .Dt MANDOC 1 .Os .Sh NAME @@ -219,7 +219,7 @@ See .It Fl T Cm lint Parse only: produce no output. Implies -.Fl W Cm warning . +.Fl W Cm style . .It Fl T Cm locale Encode output using the current locale. This is the default. @@ -632,7 +632,7 @@ to exit at once, possibly in the middle of parsing or formatting a file. Note that selecting .Fl T Cm lint output mode implies -.Fl W Cm warning . +.Fl W Cm style . .Sh EXAMPLES To page manuals to the terminal: .Pp |