During the age of sail, ships' officers were always worried about mutiny and it therefore became custom that whenever an officer approached, the rating would prove that he was not armed.
Ships' officers were always worried about mutiny. This was during the age of sail. He was not armed. The rating would prove this. An officer approached. It therefore became custom this. This was during the age of sail.