moving out global options to a local --format option