diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-03 12:16:20 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2017-06-03 12:16:20 +0000 |
commit | 0053de530a804dc91ec2915574479db050c56215 (patch) | |
tree | 288c5c196088209e8442d060600d7da2ed545c69 /usr.bin/mandoc/main.c | |
parent | 08a21d649f59ac0eb3da2b2b3ea5608f54589938 (diff) |
enable -Wstyle by default in -Tlint; OK jmc@
Diffstat (limited to 'usr.bin/mandoc/main.c')
-rw-r--r-- | usr.bin/mandoc/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c index c029f485c03..bd843e6bebb 100644 --- a/usr.bin/mandoc/main.c +++ b/usr.bin/mandoc/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.194 2017/05/17 23:39:15 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.195 2017/06/03 12:16:19 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014-2017 Ingo Schwarze <schwarze@openbsd.org> @@ -907,7 +907,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")) |