NAME

check-module - Checks module directory to see if it is ok.


SYNOPSIS

check-module [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--dofix] [filename ...]

check-module --help


DESCRIPTION

check-module checks each files given to it, and if they are directories, then files inside those directories, and checks if it is valid module file. It will parse each gff file, and also verifies that the area name lists in the module.ifo and files on the directory match, and that each area has all required area files. If this program prints error from the module.ifo, then you can use the update-ifo program to fix those errors.

If no arguments is given, then '*' is assumed.

If --dofix option is given then it will try to fix the invalid variable type errors. It WILL overwrite the files with errors, so make backup before using this option.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--difix
Try to fix the variable type errors in the module.


EXAMPLES

    check-module temp0/*.*
    check-module -v temp0
    check-module


FILES

~/.checkmodulerc
Default configuration file.


SEE ALSO

update-ifo(1), gffprint(1), Gff(3), and GffRead(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This is using the gffprint program as a template, but skip the printing of the data, and instead only parses the gff files. Area file list checking was copied fromt he fixupmodule.pl used in the cerea2 build process.