Hacked CommandLineOptions so that it accepts '-' as a specification of stdin/stdout. Made it work also when infile is specified without any option ('fop - -pdf res.pdf') TODO Investigate the adoption of Apache Commons CLI