/[public]/psiconv/trunk/program/psiconv/psiconv.c
ViewVC logotype

Diff of /psiconv/trunk/program/psiconv/psiconv.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 2 Revision 5
57 puts(""); 57 puts("");
58 puts("The following output types are known:"); 58 puts("The following output types are known:");
59 puts(" HTML (default)"); 59 puts(" HTML (default)");
60 puts(" HTML4"); 60 puts(" HTML4");
61 puts(" ASCII"); 61 puts(" ASCII");
62 puts(" RTF");
62} 63}
63 64
64void print_version(void) 65void print_version(void)
65{ 66{
66 printf("Version %s\n",VERSION); 67 printf("Version %s\n",VERSION);
174 psiconv_gen_html(f,file); 175 psiconv_gen_html(f,file);
175 else if (! strcmp(type,"HTML4")) 176 else if (! strcmp(type,"HTML4"))
176 psiconv_gen_html4(f,file); 177 psiconv_gen_html4(f,file);
177 else if (! strcmp(type,"ASCII")) 178 else if (! strcmp(type,"ASCII"))
178 psiconv_gen_txt(f,file); 179 psiconv_gen_txt(f,file);
180 else if (! strcmp(type,"RTF"))
181 psiconv_gen_rtf(f,file);
179 else { 182 else {
180 fprintf(stderr,"Unknown output type: `%s'\n",type); 183 fprintf(stderr,"Unknown output type: `%s'\n",type);
181 exit(1); 184 exit(1);
182 } 185 }
183 186

Legend:
Removed from v.2  
changed lines
  Added in v.5

frodo@frodo.looijaard.name
ViewVC Help
Powered by ViewVC 1.1.26