3 .\" The contents of this file are subject to the terms of the
4 .\" Common Development and Distribution License (the "License").
5 .\" You may not use this file except in compliance with the License.
7 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8 .\" or http://www.opensolaris.org/os/licensing.
9 .\" See the License for the specific language governing permissions
10 .\" and limitations under the License.
12 .\" When distributing Covered Code, include this CDDL HEADER in each
13 .\" file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14 .\" If applicable, add the following below this CDDL HEADER, with the
15 .\" fields enclosed by brackets "[]" replaced with your own identifying
16 .\" information: Portions Copyright [yyyy] [name of copyright owner]
20 .\" Copyright 2009 Sun Microsystems, Inc. All rights reserved.
21 .\" Use is subject to license terms.
23 .TH CDDLCHK 1ONBLD "Jun 1, 2008"
25 cddlchk \- Check for valid CDDL header blocks
28 \fBcddlchk \fR [\fB-av\fR] [\fB-x\fR \fIexceptions_file\fR] [\fIpath\fR...]
31 cddlchk inspects files for missing, obsolete, or corrupt Common
32 Development and Distribution License (CDDL) header blocks.
36 Check that all the specified files have a CDDL block, and report a
37 warning if any do not.
38 If this flag is not specified, only files containing an existing CDDL
42 Report on all files, not just those with invalid headers
44 .B \-x \fIexceptions_file\fR
45 Load an exceptions file containing a list of files, directories and
46 file extensions to be ignored.
47 Exceptions may be one of three types:
58 Directories, specified with a trailing '/'
64 File extensions, specified with a leading '*.'
69 The command completed successfully.
70 No errors or warnings were reported
73 The command completed unsuccessfully.
74 One or more errors or warnings were reported.
77 Invalid command-line arguments were specified to the command.