For a parabola equation of the form
The equation of the symmetry is
So, rewrite the given equation in the above form as follows:
Comparing g(x)=(x+2)^2-1 with g(x)=a(x-h)^2+k one can get, h=-2,k=-1.
So, the axis of symmetry is x=-2.
The correct option is B.