Sounds like an agreement was stuck behind the scenes:
Iran - We will carry on like pork-chops and make all sorts of threats to show our strength and keep our people under control. We will also launch some missiles that will splatter all around the target and will cause minimal damage.
US - Sounds good gents. As you were.
Crisis averted.