if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'h') HTML2text(1); else HTML2text(0);
nsString inString; char c; while ((c = getc(file)) != EOF) inString += c;  if (file != stdin) fclose(file);  #if 0 printf("Input string is: %s\n-------------------- \n", inString.ToNewCString()); printf("------------------------------------\n"); #endif  printf("inType = '%s', outType = '%s'\n", inType.ToNewCString(), outType.ToNewCString()); HTML2text(inString, inType, outType, wrapCol, compareAgainst);  return 0;
int main(int argc, char** argv){  nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, 0);  NS_SetupRegistry();  if (argc > 1 && argv[1][0] == '-' && argv[1][1] == 'h')    HTML2text(1);  else    HTML2text(0);}