Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/xlint/xlint document LINTEDn
details: https://anonhg.NetBSD.org/src/rev/cbb826d53116
branches: trunk
changeset: 786200:cbb826d53116
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 19 18:46:50 2013 +0000
description:
document LINTEDn
diffstat:
usr.bin/xlint/xlint/lint.1 | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r 4498292a7edb -r cbb826d53116 usr.bin/xlint/xlint/lint.1
--- a/usr.bin/xlint/xlint/lint.1 Fri Apr 19 18:45:03 2013 +0000
+++ b/usr.bin/xlint/xlint/lint.1 Fri Apr 19 18:46:50 2013 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.35 2011/04/29 09:23:29 wiz Exp $
+.\" $NetBSD: lint.1,v 1.36 2013/04/19 18:46:50 christos Exp $
.\"
.\" Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
.\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -30,7 +30,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd August 2, 2008
+.Dd April 19, 2013
.Dt LINT 1
.Os
.Sh NAME
@@ -446,11 +446,15 @@
in this file as
.Em used .
Also shut off complaints about unused function arguments.
-.It Li /* LINTED Oo Ar comment Oc Li */ No or Li /* NOSTRICT Oo Ar comment Oc Li */
+.It Li /* LINTED Ns Ar n Li Oo Ar comment Oc Li */ No or Li /* NOSTRICT Oo Ar comment Oc Li */
Suppresses any intra-file warning except those dealing with
unused variables or functions.
This directive should be placed
on the line immediately preceding where the lint warning occurred.
+The optional numeric argument suppresses the specific numbered
+message instead of every message.
+A list of messages and ids can be found in
+.Xr lint 7 .
.It Li /* LONGLONG */
Suppress complaints about use of long long integer types.
.It Li /* NOTREACHED */
Home |
Main Index |
Thread Index |
Old Index