单项选择题

He advised Mary ______ anyone about the shortages.

A.not telling
B.not tell
C.tell not
D.not to tell