mirror of
https://github.com/facebook/zstd.git
synced 2025-10-07 00:12:40 -04:00
added description to advanced usage, changed to use-dict
This commit is contained in:
parent
15102069a1
commit
36e14b1963
@ -1592,6 +1592,7 @@ static void advancedUsage(const char* programName)
|
|||||||
DISPLAY( "\n");
|
DISPLAY( "\n");
|
||||||
DISPLAY( "Advanced arguments :\n");
|
DISPLAY( "Advanced arguments :\n");
|
||||||
DISPLAY( " --content-size : always include the content size in the frame header\n");
|
DISPLAY( " --content-size : always include the content size in the frame header\n");
|
||||||
|
DISPLAY( " --use-dict # : include a dictionary used to decompress the corpus\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
@ -1665,8 +1666,8 @@ int main(int argc, char** argv)
|
|||||||
argument++;
|
argument++;
|
||||||
if (strcmp(argument, "content-size") == 0) {
|
if (strcmp(argument, "content-size") == 0) {
|
||||||
opts.contentSize = 1;
|
opts.contentSize = 1;
|
||||||
} else if (strcmp(argument, "train-dict") == 0) {
|
} else if (strcmp(argument, "use-dict") == 0) {
|
||||||
argument += 11;
|
argument += 9;
|
||||||
dictSize = readInt(&argument);
|
dictSize = readInt(&argument);
|
||||||
useDict = 1;
|
useDict = 1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user