Skip to content

Command Line Options

dakaa16 edited this page May 20, 2022 · 12 revisions

Home -> User Guide ->

This document was last updated on February 11, 2021.

-c | --config-file path-to-config-file

The absolute path to the cobol-check configuration file on your development system. Defaults to [project-root]/config.properties.

-l | --log-level logging-level

The value can be any one of the following, case insensitive:

  • off
  • fatal
  • error
  • warn
  • info
  • debug
  • trace

Default is info.

-p | --programs

Name(s) of program(s) to be tested. Default is nothing. Can take a list (space-delimited). Can take a glob.

-t | --tests

Name(s) of test(s) to run. Default is to run all tests located under the program's test suite directory.

-g | --generated-tests

Name of the generated program that carry out the given tests.

-a | --all-tests

Name of the generated file, where all testsuites are concatenated into one file.

-e | --error-log

Name of the generated testsuite error log file.

-s | --source-context

The path to specify the relative paths given in the config file, with the keys:

application.source.directory, application.copybook.directory and test.suite.directory.

-h | --help

Displays usage help and does not run the preprocessor.

-v | --version

Displays the version and does not run the preprocessor.

Clone this wiki locally