changeset 2236:57ccd949093f

Show the default chargen/character ROM file path in help.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 15 Jun 2019 06:19:34 +0300
parents 9c4f69fcb4b1
children 26f1bae40fb6
files tools/64vw.c tools/gfxconv.c
diffstat 2 files changed, 11 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tools/64vw.c	Sat Jun 15 06:18:09 2019 +0300
+++ b/tools/64vw.c	Sat Jun 15 06:19:34 2019 +0300
@@ -82,6 +82,13 @@
 {
     dmPrintBanner(stdout, dmProgName, "[options] <input image file>");
     dmArgsPrintHelp(stdout, optList, optListN, 0);
+
+    fprintf(stdout,
+    "\n"
+    "Default character ROM file for this build is:\n"
+    "%s\n",
+    DM_DEF_CHARGEN
+    );
 }
 
 
--- a/tools/gfxconv.c	Sat Jun 15 06:18:09 2019 +0300
+++ b/tools/gfxconv.c	Sat Jun 15 06:19:34 2019 +0300
@@ -232,7 +232,7 @@
     dmPrintBanner(stdout, dmProgName, "[options] <input file>");
     dmArgsPrintHelp(stdout, optList, optListN, 0);
 
-    printf(
+    fprintf(stdout,
     "\n"
     "Output image scaling (-S)\n"
     "-------------------------\n"
@@ -274,6 +274,9 @@
     "special transparency color index; -m 255,2 would use transparency for\n"
     "'0' bits and and C64 color 2 for '1' bits.\n"
     "\n"
+    "Default character ROM file for this build is:\n"
+    "%s\n",
+    DM_DEF_CHARGEN
     );
 }