GNU Dico Manual (split by node):   Section:   Chapter:FastBack: Dicod   Up: Dicod Invocation   FastForward: Modules   Contents: Table of ContentsIndex: Concept Index

4.5.1 Dicod Operation Mode

The following options select the operation mode. Only one of them can be present in the command line:

-E

Preprocess configuration file and exit. See Preprocessor.

-i
--inetd

Run in inetd mode. See Inetd Mode.

-r
--runtest
--test

Run unit tests for the module. Arguments following that option are parsed as follows:

modname [testargs] [-- initargs]

where modname stands for the name of the module to test, testargs are arguments to the dico_run_test function of the module, and initargs are module initialization arguments (passed to the dico_init method). Square brackets denote optional parts. Before passing to the corresponding method, both argument lists are augmented by prepending module name as the first element (with index 0).

This option implies --stderr.

Use the --load-dir (-L) option (see --load-dir), if the module is not located in one of the default load directories (see load path).

See Unit Testing, for a detailed discussion of module unit testing.

-t
--lint

Check configuration file syntax and exit with code ‘0’ if it is OK, or with ‘78’ if there are errors. See Configuration.

GNU Dico Manual (split by node):   Section:   Chapter:FastBack: Dicod   Up: Dicod Invocation   FastForward: Modules   Contents: Table of ContentsIndex: Concept Index