Module Name: src
Committed By: christos
Date: Tue Dec 14 16:55:45 UTC 2021
Modified Files:
src/usr.bin/xlint/xlint: lint.1
Log Message:
provide an expanded description for -W
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/usr.bin/xlint/xlint/lint.1
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.bin/xlint/xlint/lint.1
diff -u src/usr.bin/xlint/xlint/lint.1:1.48 src/usr.bin/xlint/xlint/lint.1:1.49
--- src/usr.bin/xlint/xlint/lint.1:1.48 Tue Dec 14 11:22:30 2021
+++ src/usr.bin/xlint/xlint/lint.1 Tue Dec 14 11:55:45 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.48 2021/12/14 16:22:30 christos Exp $
+.\" $NetBSD: lint.1,v 1.49 2021/12/14 16:55:45 christos Exp $
.\"
.\" Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
.\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -396,6 +396,9 @@ run the C preprocessor and
first and second pass.
.It Fl v
Suppress complaints about unused arguments in functions.
+.It Fl W Ar cppwarnarg
+Pass the warning directive to
+.Xr cpp 1 .
.It Fl w
Treat warnings as errors.
.It Fl X Ar id Ns Op ,id ...