X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmain.c;h=c32c41993e9895cf3aaa8160375a4360fbb41e90;hb=eb675b4bc920ee55a2b94ce7c9febe558d2ae2ab;hp=1540f5b96e4020ec6cf0f9f545004590416ef632;hpb=1e739c60397fc5274dba921252b63df2664bdb49;p=idzebra-moved-to-github.git diff --git a/index/main.c b/index/main.c index 1540f5b..c32c419 100644 --- a/index/main.c +++ b/index/main.c @@ -2,17 +2,18 @@ * Copyright (C) 1994-2002, Index Data * All rights reserved. * - * $Id: main.c,v 1.90 2002-06-19 11:37:11 adam Exp $ + * $Id: main.c,v 1.92 2002-07-11 13:03:01 heikki Exp $ */ #include #include #include -#include #ifdef WIN32 #include #else #include +#include #endif +#include #if HAVE_SYS_TIMES_H #include #endif @@ -150,7 +151,11 @@ int main (int argc, char **argv) } else if (!strcmp (arg, "stat") || !strcmp (arg, "status")) { - zebra_register_statistics (zh); + zebra_register_statistics (zh,0); + } + else if (!strcmp (arg, "dump") || !strcmp (arg, "dumpdict")) + { + zebra_register_statistics (zh,1); } else if (!strcmp (arg, "compact")) {