print defaults and range, remove EXT

This commit is contained in:
Paul Cruz 2017-07-31 09:47:09 -07:00
parent e22b60cb76
commit f60cd3f99b
2 changed files with 4 additions and 4 deletions

View File

@ -29,7 +29,7 @@ adapt-debug: $(ZSTD_FILES) adapt.c
$(CC) $(FLAGS) -DDEBUG_MODE=2 $^ -o adapt $(CC) $(FLAGS) -DDEBUG_MODE=2 $^ -o adapt
datagen : $(PRGDIR)/datagen.c datagencli.c datagen : $(PRGDIR)/datagen.c datagencli.c
$(CC) $(FLAGS) $^ -o $@$(EXT) $(CC) $(FLAGS) $^ -o $@
test-adapt-correctness: datagen adapt test-adapt-correctness: datagen adapt
@./test-correctness.sh @./test-correctness.sh

View File

@ -986,14 +986,14 @@ static void help(void)
PRINT("\n"); PRINT("\n");
PRINT("Options:\n"); PRINT("Options:\n");
PRINT(" -oFILE : specify the output file name\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(" -h : display help/information\n");
PRINT(" -f : force the compression level to stay constant\n"); PRINT(" -f : force the compression level to stay constant\n");
PRINT(" -c : force write to stdout\n"); PRINT(" -c : force write to stdout\n");
PRINT(" -p : hide progress bar\n"); PRINT(" -p : hide progress bar\n");
PRINT(" -q : quiet mode -- do not show progress bar or other information\n"); PRINT(" -q : quiet mode -- do not show progress bar or other information\n");
PRINT(" -l# : provide lower bound for compression level\n"); PRINT(" -l# : provide lower bound for compression level -- default 1\n");
PRINT(" -u# : provide upper bound for compression level\n"); PRINT(" -u# : provide upper bound for compression level -- default 22\n");
} }
/* return 0 if successful, else return error */ /* return 0 if successful, else return error */
int main(int argCount, const char* argv[]) int main(int argCount, const char* argv[])