Print this page
6282 ONBLD man pages not pbchk clean
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Josef Sipek <jeffpc@josefsipek.net>
*** 18,53 ****
.\" CDDL HEADER END
.\"
.\" Copyright 2009 Sun Microsystems, Inc. All rights reserved.
.\" Use is subject to license terms.
.\"
! .TH cddlchk 1ONBLD "1 June 2008"
.SH NAME
cddlchk \- Check for valid CDDL header blocks
.SH SYNOPSIS
.nf
\fBcddlchk \fR [\fB-av\fR] [\fB-x\fR \fIexceptions_file\fR] [\fIpath\fR...]
.fi
- .LP
.SH DESCRIPTION
- .IX "OS-Net build tools" "cddlchk" "" "\fBcddlchk\fP"
cddlchk inspects files for missing, obsolete, or corrupt Common
Development and Distribution License (CDDL) header blocks.
- .LP
.SH OPTIONS
- .LP
.TP 4
.B \-a
Check that all the specified files have a CDDL block, and report a
warning if any do not.
If this flag is not specified, only files containing an existing CDDL
block are validated.
- .LP
.TP 4
.B \-v
Report on all files, not just those with invalid headers
- .LP
.TP 4
.B \-x \fIexceptions_file\fR
Load an exceptions file containing a list of files, directories and
file extensions to be ignored.
Exceptions may be one of three types:
--- 18,47 ----
.\" CDDL HEADER END
.\"
.\" Copyright 2009 Sun Microsystems, Inc. All rights reserved.
.\" Use is subject to license terms.
.\"
! .TH CDDLCHK 1ONBLD "Jun 1, 2008"
.SH NAME
cddlchk \- Check for valid CDDL header blocks
.SH SYNOPSIS
.nf
\fBcddlchk \fR [\fB-av\fR] [\fB-x\fR \fIexceptions_file\fR] [\fIpath\fR...]
.fi
.SH DESCRIPTION
cddlchk inspects files for missing, obsolete, or corrupt Common
Development and Distribution License (CDDL) header blocks.
.SH OPTIONS
.TP 4
.B \-a
Check that all the specified files have a CDDL block, and report a
warning if any do not.
If this flag is not specified, only files containing an existing CDDL
block are validated.
.TP 4
.B \-v
Report on all files, not just those with invalid headers
.TP 4
.B \-x \fIexceptions_file\fR
Load an exceptions file containing a list of files, directories and
file extensions to be ignored.
Exceptions may be one of three types:
*** 67,86 ****
.TP
.ie t \(bu
.el o
File extensions, specified with a leading '*.'
.RE
- .LP
.SH EXIT STATUS
.TP 4
.B 0
The command completed successfully.
No errors or warnings were reported
- .LP
.TP 4
.B 1
The command completed unsuccessfully.
One or more errors or warnings were reported.
- .LP
.TP 4
.B 2
Invalid command-line arguments were specified to the command.
--- 61,77 ----