If f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [a,x], then prove that lim

Problem: 

If f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [a,x], then prove that
\lim_{x\to a^+}\,m(x)=f(a).

Answer: 

It is true that if f(x) is continuous and m(x) is the minimum value of f(x) in the closed interval [a,x], then \lim_{x\to a^+}\,m(x)=f(a).