diff options
Diffstat (limited to 'profile/txt2ti3.c')
-rw-r--r-- | profile/txt2ti3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/profile/txt2ti3.c b/profile/txt2ti3.c index 9b425f3..62807f3 100644 --- a/profile/txt2ti3.c +++ b/profile/txt2ti3.c @@ -28,7 +28,7 @@ */ -#undef DEBUG +#define DEBUG #include <stdio.h> #include <stdlib.h> @@ -50,7 +50,7 @@ usage(char *mes) { fprintf(stderr,"Author: Graeme W. Gill, licensed under the AGPL Version 3\n"); if (mes != NULL) fprintf(stderr,"error: %s\n",mes); - fprintf(stderr,"usage: txt2ti3 [-v] [-l limit] [devfile] infile [specfile] outfile\n"); + fprintf(stderr,"usage: txt2ti3 [-v] [-l limit] [devfile] infile [specfile] outbase\n"); /* fprintf(stderr," -v Verbose mode\n"); */ fprintf(stderr," -2 Create dummy .ti2 file as well\n"); fprintf(stderr," -l limit set ink limit, 0 - 400%% (default max in file)\n"); @@ -200,7 +200,7 @@ int main(int argc, char *argv[]) cmy->add_other(cmy, "ECI2002"); /* Gretag/Logo Target file */ cmy->add_other(cmy, ""); /* Wildcard */ if (cmy->read_name(cmy, devname)) - error ("Read: Can't read dev file '%s'. Unknown format or corrupted file ?",devname); + error ("Read: Can't read dev file '%s'. Unknown format or corrupted file ? (%s)",devname,cmy->err); if (cmy->ntables != 1) warning("Input file '%s' doesn't contain exactly one table",devname); |