changeset 2183:e3f0eaf23f4f

Change the error message for unimplemented option argument.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 12 Jun 2019 20:25:06 +0300
parents 52985e4bc9ce
children 5dc1e323d3d4
files tools/64vw.c tools/data2inc.c tools/dumpmod.c tools/fontconv.c tools/gentab.c tools/gfxconv.c tools/mod2wav.c tools/objlink.c tools/packed.c tools/ppl.c tools/xm2jss.c
diffstat 11 files changed, 11 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/tools/64vw.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/64vw.c	Wed Jun 12 20:25:06 2019 +0300
@@ -164,7 +164,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown option '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/data2inc.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/data2inc.c	Wed Jun 12 20:25:06 2019 +0300
@@ -120,7 +120,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown option '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/dumpmod.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/dumpmod.c	Wed Jun 12 20:25:06 2019 +0300
@@ -85,7 +85,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown argument '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/fontconv.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/fontconv.c	Wed Jun 12 20:25:06 2019 +0300
@@ -141,7 +141,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown argument '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/gentab.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/gentab.c	Wed Jun 12 20:25:06 2019 +0300
@@ -165,7 +165,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown argument '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/gfxconv.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/gfxconv.c	Wed Jun 12 20:25:06 2019 +0300
@@ -958,7 +958,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown option '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/mod2wav.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/mod2wav.c	Wed Jun 12 20:25:06 2019 +0300
@@ -132,7 +132,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown argument '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/objlink.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/objlink.c	Wed Jun 12 20:25:06 2019 +0300
@@ -504,7 +504,7 @@
         break;
 
     default:
-        dmErrorMsg("Unknown argument '%s'.\n", currArg);
+        dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
         return FALSE;
     }
 
--- a/tools/packed.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/packed.c	Wed Jun 12 20:25:06 2019 +0300
@@ -145,6 +145,7 @@
             break;
 
         default:
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/ppl.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/ppl.c	Wed Jun 12 20:25:06 2019 +0300
@@ -164,7 +164,7 @@
             break;
 
         default:
-            dmErrorMsg("Unknown option '%s'.\n", currArg);
+            dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
             return FALSE;
     }
 
--- a/tools/xm2jss.c	Wed Jun 12 18:28:53 2019 +0300
+++ b/tools/xm2jss.c	Wed Jun 12 20:25:06 2019 +0300
@@ -121,7 +121,7 @@
     case 9: optOptimize = TRUE; break;
 
     default:
-        dmErrorMsg("Unknown argument '%s'.\n", currArg);
+        dmErrorMsg("Unimplemented option argument '%s'.\n", currArg);
         return FALSE;
     }