Choose the sentence which has the closest meaning to the original one.
Peter said if he were me he would stop smoking.
A.I wanted Peter to stop smoking and he promised to do.
B.Peter promised to stop smoking.
C.Peter said he would stop smoking as I wanted him to.
D.Peter advised me to stop smoking.