… | |
… | |
34 | |
34 | |
35 | #ifdef IMAGEMAGICK |
35 | #ifdef IMAGEMAGICK |
36 | #include <magick/magick.h> |
36 | #include <magick/magick.h> |
37 | #endif |
37 | #endif |
38 | |
38 | |
39 | #include "data.h" |
39 | #include "psiconv/data.h" |
40 | #include "parse.h" |
40 | #include "psiconv/parse.h" |
41 | #include "gen.h" |
41 | #include "gen.h" |
42 | #include "psiconv.h" |
42 | #include "psiconv.h" |
43 | |
43 | |
44 | static void print_help(void); |
44 | static void print_help(void); |
45 | static void print_version(void); |
45 | static void print_version(void); |
… | |
… | |
131 | case 'V': print_version(); exit(0); |
131 | case 'V': print_version(); exit(0); |
132 | case 'v': if (psiconv_verbosity < PSICONV_VERB_PROGRESS) |
132 | case 'v': if (psiconv_verbosity < PSICONV_VERB_PROGRESS) |
133 | psiconv_verbosity = PSICONV_VERB_PROGRESS; |
133 | psiconv_verbosity = PSICONV_VERB_PROGRESS; |
134 | break; |
134 | break; |
135 | case 'd': psiconv_verbosity = PSICONV_VERB_DEBUG; break; |
135 | case 'd': psiconv_verbosity = PSICONV_VERB_DEBUG; break; |
136 | case 's': psiconv_verbosity = PSICONV_VERB_SILENT; break; |
136 | case 's': psiconv_verbosity = PSICONV_VERB_FATAL; break; |
137 | case 'e': exact = 1; break; |
137 | case 'e': exact = 1; break; |
138 | case 'o': outputfilename = strdup(optarg); break; |
138 | case 'o': outputfilename = strdup(optarg); break; |
139 | case 'T': type = strdup(optarg); break; |
139 | case 'T': type = strdup(optarg); break; |
140 | case '?': case ':': fputs("Try `-h' for more information\n",stderr); |
140 | case '?': case ':': fputs("Try `-h' for more information\n",stderr); |
141 | exit(1); |
141 | exit(1); |