aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-03 12:17:25 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-03 12:17:25 +0000
commit3f480d9d158e76fb6d13b7e2c3675f729ee52727 (patch)
tree7ed2277a0760fa7745e3011d05be894aaa4c9410 /main.c
parenta83ae757baf7eaab8523c0c7bd2bf5974eec34a8 (diff)
downloadmandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.tar.gz
mandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.tar.zst
mandoc-3f480d9d158e76fb6d13b7e2c3675f729ee52727.zip
enable -Wstyle by default in -Tlint; OK jmc@
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 2e65f2c5..6a99ba2f 100644
--- a/main.c
+++ b/main.c
@@ -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"))