#include "htmlapp.h"
#include "struc/pasrmain.h"

void main (int argc, char **argv )
{
  // the following variable is needed by the lexer.
  progName=*argv;
  if (argc<3){
    printf("Usage: %s dir dic <dic <dic> ...> <file <file> ...>\n", progName);
    printf("where: dir = directory name that contains dictionaries & star files.\n");
    printf("       dic = dictionary name.\n");
    printf("       file = STAR file name.\n\n");
    printf("Note:  Two html files will be generated for every dictionary &\n");
    printf("       star file plus one master html file named SFBrowser.html.\n");
    printf("       These files will be generated in the directory given by the\n");
    printf("       command line syntax.\n");
    exit(0);
  }
  [[[WDCStarHtmlMain alloc] initWith:"Application", argc, argv] run];
}

