shithub: rewise

Download patch

ref: d687b4ee0c7ac58d9a9e5e50fb1813f47f17681d
parent: d9e2d39bc869b9366a360b46c4d19b23b5ac2666
author: CYBERDEViL <[email protected]>
date: Wed May 3 17:26:29 EDT 2023

Print real default TMP_PATH in printHelp()

--- a/src/rewise.c
+++ b/src/rewise.c
@@ -126,7 +126,8 @@
   printf("\n");
   printf("  OPTIONS\n");
   printf("   -p --preserve                  Don't delete TMP files.\n");
-  printf("   -t --tmp-path     TMP_PATH     Set temporary path, default: /tmp/\n");
+  printf("   -t --tmp-path     TMP_PATH     Set temporary path, default: %s\n",
+         REWISE_DEFAULT_TMP_PATH);
   printf("   -d --debug                     Print debug info.\n");
   printf("   -s --silent                    Be silent, don't print anything.\n");
   printf("   -n --no-extract                Don't extract anything. This will "