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 new flags.
details: https://anonhg.NetBSD.org/src/rev/28280ebc3609
branches: trunk
changeset: 494374:28280ebc3609
user: christos <christos%NetBSD.org@localhost>
date: Thu Jul 06 01:17:18 2000 +0000
description:
document new flags.
diffstat:
usr.bin/xlint/xlint/lint.1 | 18 +++++++++++++++---
1 files changed, 15 insertions(+), 3 deletions(-)
diffs (55 lines):
diff -r ecb43942d74c -r 28280ebc3609 usr.bin/xlint/xlint/lint.1
--- a/usr.bin/xlint/xlint/lint.1 Thu Jul 06 01:12:24 2000 +0000
+++ b/usr.bin/xlint/xlint/lint.1 Thu Jul 06 01:17:18 2000 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: lint.1,v 1.12 2000/06/14 06:49:24 cgd Exp $
+.\" $NetBSD: lint.1,v 1.13 2000/07/06 01:17:18 christos Exp $
.\"
.\" Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved.
.\" Copyright (c) 1994, 1995 Jochen Pohl
@@ -38,7 +38,7 @@
.Nd a C program verifier.
.Sh SYNOPSIS
.Nm ""
-.Op Fl abceghprvxzHFV
+.Op Fl abceghprvwxzHFV
.Bk -words
.Op Fl s | Fl t
.Ek
@@ -69,9 +69,12 @@
.Bk -words
.Op Fl B Ar directory
.Ek
+.Bk -words
+.Op Fl X Ar id Op ,id ...
+.Ek
.Ar
.Nm lint
-.Op Fl abceghprvzHFV
+.Op Fl abceghprvwzHFV
.Bk -words
.Op Fl s | Fl t
.Ek
@@ -93,6 +96,9 @@
.Bk -words
.Op Fl B Ar directory
.Ek
+.Bk -words
+.Op Fl X Ar id Op ,id ...
+.Ek
.Ar
.Sh DESCRIPTION
.Nm
@@ -391,6 +397,12 @@
run the C preprocessor and
.Nm lint Ns 's
first and second pass.
+.It Fl w
+Treat warnings as errors.
+.It Fl X Ar id Op ,id ...
+Suppress error messages identified by the list of ids. A list of messages
+and ids can be found in
+.Xr lint 7 .
.El
.Pp
.Sy Input Grammar
Home |
Main Index |
Thread Index |
Old Index