]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
print defaults and range, remove EXT
authorPaul Cruz <paulcruz74@fb.com>
Mon, 31 Jul 2017 16:47:09 +0000 (09:47 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Mon, 31 Jul 2017 16:47:09 +0000 (09:47 -0700)
contrib/adaptive-compression/Makefile
contrib/adaptive-compression/adapt.c

index b1c498c934aa97749ecb139ae610ab04c0ca9fb6..87b61b4173697d4549ca02de308301d418af1c0b 100644 (file)
@@ -29,7 +29,7 @@ adapt-debug: $(ZSTD_FILES) adapt.c
        $(CC) $(FLAGS) -DDEBUG_MODE=2 $^ -o adapt
 
 datagen : $(PRGDIR)/datagen.c datagencli.c
-       $(CC)      $(FLAGS) $^ -o $@$(EXT)
+       $(CC)      $(FLAGS) $^ -o $@
 
 test-adapt-correctness: datagen adapt
        @./test-correctness.sh
index 3a57c3723774133ccf935de80339bd054ed0a667..5cec227ec23375f1f1964ece57ccbce12b167a6c 100644 (file)
@@ -986,14 +986,14 @@ static void help(void)
     PRINT("\n");
     PRINT("Options:\n");
     PRINT("  -oFILE : specify the output file name\n");
-    PRINT("  -i#    : provide initial compression level\n");
+    PRINT("  -i#    : provide initial compression level -- default %d, must be in the range [L, U] where L and U are bound values (see below for defaults)\n", DEFAULT_COMPRESSION_LEVEL);
     PRINT("  -h     : display help/information\n");
     PRINT("  -f     : force the compression level to stay constant\n");
     PRINT("  -c     : force write to stdout\n");
     PRINT("  -p     : hide progress bar\n");
     PRINT("  -q     : quiet mode -- do not show progress bar or other information\n");
-    PRINT("  -l#    : provide lower bound for compression level\n");
-    PRINT("  -u#    : provide upper bound for compression level\n");
+    PRINT("  -l#    : provide lower bound for compression level -- default 1\n");
+    PRINT("  -u#    : provide upper bound for compression level -- default 22\n");
 }
 /* return 0 if successful, else return error */
 int main(int argCount, const char* argv[])