I want to know the answer to the following question:
What was the importance of a red flag flown by a warship in the Middle Ages?
All the background I'm provided with is that "In the Middle Ages, a red flag announced that the defenders of a town or castle would fight to defend it, and a red flag hoisted by a warship meant they would show no mercy to their enemy.". Is that enough to answer the question?