* mdocml: enable -Wstyle by default in -Tlint; OK jmc@
@ 2017-06-03 12:17 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2017-06-03 12:17 UTC (permalink / raw)
To: source
Log Message:
-----------
enable -Wstyle by default in -Tlint; OK jmc@
Modified Files:
--------------
mdocml:
main.c
mandoc.1
Revision Data
-------------
Index: main.c
===================================================================
RCS file: /home/cvs/mdocml/mdocml/main.c,v
retrieving revision 1.291
retrieving revision 1.292
diff -Lmain.c -Lmain.c -u -p -r1.291 -r1.292
--- main.c
+++ main.c
@@ -937,7 +937,7 @@ toptions(struct curparse *curp, char *ar
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"))
Index: mandoc.1
===================================================================
RCS file: /home/cvs/mdocml/mdocml/mandoc.1,v
retrieving revision 1.192
retrieving revision 1.193
diff -Lmandoc.1 -Lmandoc.1 -u -p -r1.192 -r1.193
--- mandoc.1
+++ mandoc.1
@@ -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
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
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-03 12:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-03 12:17 mdocml: enable -Wstyle by default in -Tlint; OK jmc@ schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).