fix typo preventing output-format change
allow changing output on command line