Using gelint PreviousNext

Command-line options

The usual way to invoke gelint is as follows:

gelint ecf_filename
This will read the description of your Eiffel system in the ECF file ecf_filename, perform code analysis on the corresponding Eiffel classes and report any syntax or validity errors. Your Eiffel system can be an Eiffel project or an Eiffel library. Here is the list of options that can be used with gelint:
-h
--help
Print a summary of the command-line options of gelint and exit.
--target=<target_name>
Name of target to be used in ECF file. (default: last target in ECF file)
--flat
For each class, not only check the validity of the features declared in this class, but also of those inherited from its parent classes.
--noflatdbc
Do not check the validity of inherited pre- and postconditions when a feature is redeclared.
--catcall
Report possible CAT-call errors, based on the statically computed dynamic type sets of each variables in the Eiffel code.
--ecma
Strictly follow the ECMA Eiffel standard during code analysis.
--ise[=major[.minor[.revision[.build]]]]
Version of ISE Eiffel whose semantics should be used during code analysis.
--setting=name=value
Override settings defined in ECF file. This option can be used several times to override several settings.
--capability=name=value
Override capability usage defined in ECF file. This option can be used several times to override several capabilities.
--variable=NAME=VALUE
Override variables defined in ECF file. This option can be used several times to override several variables.
--thread=<thread_count>
Number of threads to be used to run gelint. Negative numbers -N mean "number of CPUs - N". (default: number of CPUs)
--silent
Run gelint in silent mode.
--verbose
Run gelint in verbose mode.
--no-benchmark
Should no benchmark information be displayed? (default: display non-nested benchmark information)
--nested-benchmark
Should nested benchmark information be displayed?
--metrics
Should metrics information be displayed?
-V
--version
Print the version number of gelint and exit.


Copyright © 2006-2019, Eric Bezault
mailto:ericb@gobosoft.com
http://www.gobosoft.com
Last Updated: 15 March 2019
HomeTocPreviousNext