Figure (a) correctly shows what happens when a positively charged rod is brought close to an electroscope.
The near end of the electroscope acquires the opposite (negative) charge because of induction, whereas the far end acquires the same (positive) charge.