From: Robert Spalek Date: Thu, 24 Jun 2004 12:30:51 +0000 (+0000) Subject: changed the default action to test X-Git-Tag: holmes-import~1035 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=da73e286d4f7a69184cd673db622333d16d2775c;p=libucw.git changed the default action to test --- diff --git a/lib/lizard-test.c b/lib/lizard-test.c index 62da4dad..0b8c9529 100644 --- a/lib/lizard-test.c +++ b/lib/lizard-test.c @@ -14,9 +14,9 @@ Usage: lizard-test input-file [output-file]\n\ \n\ Options:\n" CF_USAGE -"-c\t\tCompress (default)\n\ +"-c\t\tCompress\n\ -d\t\tDecompress\n\ --t\t\tCompress, decompress, and compare (in memory only)\n\ +-t\t\tCompress, decompress, and compare (in memory only, default)\n\ -x, -xx\t\tLet the test crash by shrinking the output buffer\n\ "; @@ -31,7 +31,7 @@ int main(int argc, char **argv) { int opt; - uns action = 'c'; + uns action = 't'; uns crash = 0; log_init(argv[0]); while ((opt = cf_getopt(argc, argv, options, CF_NO_LONG_OPTS, NULL)) >= 0)