allow forcing input format on command line