[spec] clean up formatting of cli_spec