Cleanup command format.