What do you think about parents telling their daughter to cover up because company is coming?

Context: visited a boarding school friend I've not seen for years. I was about to leave because he was having company soon and his 13 year old daughter comes walking out of her room wearing shorts & a tank top and he turns to her and tells her to cover up because the guys are coming. I was shocked and appalled, remember being told the same as a kid & it made me just as uncomfortable to witness as it was to experience.
What do you think about parents telling their daughter to cover up because company is coming?
Post Opinion