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 | 3248b177a4b5624bb57796f898b81736244d2579 (patch) | |
tree | 18d571acc0f73d4d412d805884cc943029af12ab | |
parent | bfb452504d8b3a8d83033a92009dcdba6370788c (diff) | |
download | mandoc-3248b177a4b5624bb57796f898b81736244d2579.tar.gz |
enable -Wstyle by default in -Tlint; OK jmc@
-rw-r--r-- | main.c | 2 | ||||
-rw-r--r-- | mandoc.1 | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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")) @@ -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 |