]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
added help statement for -p, switched it to hide progress bar now that progress bar...
authorPaul Cruz <paulcruz74@fb.com>
Mon, 24 Jul 2017 23:26:20 +0000 (16:26 -0700)
committerPaul Cruz <paulcruz74@fb.com>
Mon, 24 Jul 2017 23:26:20 +0000 (16:26 -0700)
contrib/adaptive-compression/adapt.c

index c4c46af5da9a40b5ff8beb125253a0aedf6fd2da..f6bcddd18c7f94ecab94cb309ad458794f600df4 100644 (file)
@@ -903,6 +903,7 @@ static void help()
     PRINT("  -i#    : provide initial compression level\n");
     PRINT("  -h     : display help/information\n");
     PRINT("  -f     : force the compression level to stay constant\n");
+    PRINT("  -p     : hide progress bar\n");
     PRINT("  -q     : quiet mode -- do not show progress bar or other information\n");
 }
 /* return 0 if successful, else return error */
@@ -945,7 +946,7 @@ int main(int argCount, const char* argv[])
                     help();
                     goto _main_exit;
                 case 'p':
-                    g_useProgressBar = 1;
+                    g_useProgressBar = 0;
                     break;
                 case 'c':
                     forceStdout = 1;