The version of the verses I sing about the soldiers' children goes:
One pleasant evening in the month of May Some soldiers' children came out to play My captain came and he said to me Go and take their names young McCaffery
I took one name instead of three With neglect of duty they then charged me Confined to barracks with loss of pay For doing me duty the opposite way