Command Line Options - openmainframeproject/cobol-check GitHub Wiki
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.
-r | --run-directory
The path to specify the relative paths given in the config file. It specifies all paths that is specifically in Cobol Check, like the config file, scripts and generated files.
-h | --help
Displays usage help and does not run the preprocessor.
-v | --version
Displays the version and does not run the preprocessor.