Setup --format choices using ENTRY_POINTS.

This enabled argparse to print the valid choice in the --help string. It
also then tests that the user picked a valid choice.