X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Fmain.c;h=c32c41993e9895cf3aaa8160375a4360fbb41e90;hb=38f321eafd606e8ac91da5c1450393fed73d37f5;hp=edf5212aea9c0bfedb45c9f05bd03881eb88e8c4;hpb=42632d1251eba8a9b158625dff3344fc747b2b17;p=idzebra-moved-to-github.git diff --git a/index/main.c b/index/main.c index edf5212..c32c419 100644 --- a/index/main.c +++ b/index/main.c @@ -2,7 +2,7 @@ * Copyright (C) 1994-2002, Index Data * All rights reserved. * - * $Id: main.c,v 1.91 2002-06-19 13:19:43 adam Exp $ + * $Id: main.c,v 1.92 2002-07-11 13:03:01 heikki Exp $ */ #include #include @@ -151,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")) {