Option to specify output formats.

Added a -m option to specify output formats.  If not specified then
defaults to all allowed formats.  Option is -m and takes a comma
separated list of formats.