1 cddlchk(1ONBLD)               illumos Build Tools              cddlchk(1ONBLD)
   2 
   3 
   4 
   5 NAME
   6        cddlchk - Check for valid CDDL header blocks
   7 
   8 SYNOPSIS
   9        cddlchk  [-av] [-x exceptions_file] [path...]
  10 
  11 DESCRIPTION
  12        cddlchk inspects files for missing, obsolete, or corrupt Common
  13        Development and Distribution License (CDDL) header blocks.
  14 
  15 OPTIONS
  16        -a  Check that all the specified files have a CDDL block, and report a
  17            warning if any do not.  If this flag is not specified, only files
  18            containing an existing CDDL block are validated.
  19 
  20        -v  Report on all files, not just those with invalid headers
  21 
  22        -x exceptions_file
  23            Load an exceptions file containing a list of files, directories and
  24            file extensions to be ignored.  Exceptions may be one of three
  25            types:
  26 
  27            o   File paths
  28 
  29            o   Directories, specified with a trailing '/'
  30 
  31            o   File extensions, specified with a leading '*.'
  32 
  33 EXIT STATUS
  34        0   The command completed successfully.  No errors or warnings were
  35            reported
  36 
  37        1   The command completed unsuccessfully.  One or more errors or
  38            warnings were reported.
  39 
  40        2   Invalid command-line arguments were specified to the command.
  41 
  42 
  43 
  44                                   1 June 2008                  cddlchk(1ONBLD)