A couple of times I encountered situation where people had a following policy
If a parent yells at a kid out of frustration with no meaningful reason (e.g. the kid just got on their nerves but wasn't actually doing something punishment-worthy), that parent MUST shortly apologize to the yelled-at child.
Is that considered to be a good approach? What are the pros and cons?
Please note that the discussion of the concept of yelling at a child in general is out of scope for this question. I tagged it "discipline" simply because I couldn't come up with a better tag