]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Adding --content-size
authorBimba Shrestha <bimbashrestha@fb.com>
Mon, 9 Mar 2020 19:19:05 +0000 (14:19 -0500)
committerBimba Shrestha <bimbashrestha@fb.com>
Mon, 9 Mar 2020 19:19:05 +0000 (14:19 -0500)
programs/zstdcli.c

index ebdfca75c85c88686707bf675af3caf9a7b437da..8e86c282b1796d3b797058533169c2154e4e6443 100644 (file)
@@ -749,6 +749,7 @@ int main(int const argCount, const char* argv[])
                 if (!strcmp(argument, "--priority=rt")) { setRealTimePrio = 1; continue; }
                 if (!strcmp(argument, "--output-dir-flat")) {nextArgumentIsOutDirName=1; lastCommand=1; continue; }
                 if (!strcmp(argument, "--show-default-cparams")) { showDefaultCParams = 1; continue; }
+                if (!strcmp(argument, "--content-size")) { contentSize = 1; continue; }
                 if (!strcmp(argument, "--no-content-size")) { contentSize = 0; continue; }
                 if (!strcmp(argument, "--adapt")) { adapt = 1; continue; }
                 if (longCommandWArg(&argument, "--adapt=")) { adapt = 1; if (!parseAdaptParameters(argument, &adaptMin, &adaptMax)) { badusage(programName); CLEAN_RETURN(1); } continue; }