CDDLCHK(1ONBLD) illumos Build Tools CDDLCHK(1ONBLD)

NAME

cddlchk - Check for valid CDDL header blocks

SYNOPSIS


cddlchk [-av] [-x exceptions_file] [path...]

DESCRIPTION

cddlchk inspects files for missing, obsolete, or corrupt Common Development and Distribution License (CDDL) header blocks.

OPTIONS

-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.
-v
Report on all files, not just those with invalid headers
-x exceptions_file
Load an exceptions file containing a list of files, directories and file extensions to be ignored. Exceptions may be one of three types:
o
File paths
o
Directories, specified with a trailing '/'
o
File extensions, specified with a leading '*.'

EXIT STATUS

0
The command completed successfully. No errors or warnings were reported
1
The command completed unsuccessfully. One or more errors or warnings were reported.
2
Invalid command-line arguments were specified to the command.
June 1, 2008