单项选择题

I told the stranger to go to the hospital on foot, but I ______ to go by bus.

A.had to tell him
B.must have told him
C.should have told him
D.ought to tell him