# Command Line Options for the check Command

You can check packages that you build for common errors from the command line by using the command `TERR CMD check` and specifying any of the following options to control the results.

Usage

      TERR CMD check [options] pkgDirs

Description
  Check packages specified by `pkgDirs` for common errors.
Options
  `-o`, `--option=value` means that `-o value` and `--option=value` are synonymous.

Option | Description
--- | ---
`-h`, `--help` | Describe the arguments that can be passed to this command, and then exit.
`-v``--version` | Print the package version information, and then exit.
`-l``--library=LIB` | The library directory used for test installation of packages. (The default is outdir.
`-o``--outdir=DIR` | The directory where log files, TERR output, and other information is written. The default is pkg.TERRcheck in the current directory, where `pkg` is the name of the package checked.