[Xapian-discuss] Strange behavior from scriptindex.

Olly Betts olly at survex.com
Wed Sep 15 19:46:18 BST 2004


On Wed, Sep 15, 2004 at 02:34:31PM -0400, Jim Lynch wrote:
> <oasisminus 242> scriptindex --version
> Usage: scriptindex [--help] [--version] [--overwrite] [-q] [-v]  <path 
> to xapian database> <indexer script> [<filename>]...
> Creates a new database containing the data given by the list of files.
> The -q (quiet) option suppresses log messages.
> The -v (verbose) option generates messages about all actions.
> The --overwrite option causes the database to be created anew (the 
> default is
> to update if the database already exists).

Hmm, looking at the code, --version is just aliased to --help.  That'd
be just about OK, except that --help doesn't show the version number
anywhere.

This isn't a new fault - it has been there since at least 0.7.4 - I suspect
it's probably always been that way.

I'll fix it.

In the meantime, the easiest way to see what version you have is
probably to look at the corresponding omindex version - they're
installed by the same "make install" command, so it's highly unlikely
they'd be out of step.

Cheers,
    Olly



More information about the Xapian-discuss mailing list