minor:  space missing after if
minor: I would expect if (optKeywords) processor.print(); return 0;