cli : add support for --threads=# command

updated documentation
add relevant test case
This commit is contained in:
Yann Collet committed 2017-04-21 11:38:13 -07:00
1 parent d0b1846cf4
commit 230d7acc7d
4 files changed
+36 -30

No files matched your search

+1
View File
@@ -420,6 +420,7 @@ int main(int argCount, const char* argv[])
continue;
}
#endif
if (longCommandWArg(&argument, "--threads=")) { nbThreads = readU32FromChar(&argument); continue; }
if (longCommandWArg(&argument, "--memlimit=")) { memLimit = readU32FromChar(&argument); continue; }
if (longCommandWArg(&argument, "--memory=")) { memLimit = readU32FromChar(&argument); continue; }
if (longCommandWArg(&argument, "--memlimit-decompress=")) { memLimit = readU32FromChar(&argument); continue; }