If your index file becomes corrupted, or if you need a copy of the current index for some reason, use
gen-index [ -n | --numeric ] [ -d databasename | --database=databasename ] [ -o filename | --outfile=filename ] [ -i | --import ] [ -e | --export ] [ -h | --help] [ -V | --version ]
With no options, gen-index
generates an index that is sorted by
the order that the categories appear in the categories file. The
index is generated in plaintext or binary format according to the value
of binary-index
in the dbconfig file (see Index file description). The results are printed to
standard output. The options are:
-n
--numeric
-d
databasename--database=
databasenamegen-index
attempts to index the database with name taken from the
the GNATSDB environment variable, and if that is undefined, the
default database, as set when gnats was built (usually
default
).
-o
filename--outfile=
filename-i
--import
-e
--export
-h
--help
gen-index
.
-V
--version
gen-index
.