Support specifying input formats on the command line