From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- profile/txt2ti3.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'profile/txt2ti3.c') 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 #include @@ -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); -- cgit v1.2.3