The statement appears on page 33 of the second edition of Professor Lee's Introduction to Riemannian Manifolds. It is in the section on Lengths and Distances in Riemannian manifolds, but I think the statement may be generally true even if there is no Riemannian metric given for the manifold. Here is the relevant paragraph:
"Without further qualification, a curve in $M$ always means a parameterized curve, that is, a continuous map $\gamma\colon I\to M$, where $I\subseteq\mathbb{R}$ is some interval. ... To say that $\gamma$ is a smooth curve is to say that it is smooth as a map from the manifold (with boundary) $I$ to $M$. If $I$ has one or two endpoints and $M$ has empty boundary, then $\gamma$ is smooth if and only if it extends to a smooth curve defined on some open interval containing $I$. (If $\partial M\neq\varnothing$, then smoothness of $\gamma$ has to be interpreted as meaning that each coordinate representation of $\gamma$ has a smooth extension to an open interval.)"
I believe I have a correct proof of the statement for the case when $M$ has empty boundary. It is the parenthetical statement that follows, about the case when the boundary of $M$ is nonempty, that has me stymied. I have sketched a proof of one direction of that statement, namely the "if" direction. It is the "only if" direction that I can't get a handle on.
That is, I assume that $\gamma$ is smooth, $(U,\phi)$ is a smooth chart for $I$, $(V,\psi)$ is a smooth chart for $M$, and $\gamma(U)\subseteq V$. I set $\hat{\gamma}=\psi\circ\gamma\circ\phi^{-1}\colon\phi(U)\to\psi(V)$. By definition, $\hat{\gamma}$ (which is a coordinate representation of $\gamma$) is smooth, and I need to find an open interval $J$ which contains $\phi(U)$ and a smooth map $\Gamma\colon J\to\mathbf{R}^n$ such that $\Gamma|_{\phi(U)}=\hat{\gamma}$. Here, I have assumed that $\dim M=n$. I tried to work on a simpler version of this problem, so I assumed first that $\phi(U)$ was open in $\mathbb{R}$ (it could be open in the half-space instead). Then a plausible candidate for $J$ is $(\inf\phi(U),\sup\phi(U))$. But how would I define $\Gamma$ so as to match $\hat{\gamma}$? I know $\phi(U)$ is a countable collection of disjoint open intervals, but I haven't been able to figure out how to use something like a partition of unity to glue the restrictions of $\hat{\gamma}$ to each interval in the collection together to make $\Gamma$. That is mostly because I haven't come up with a reasonable open cover for $J$. Also complicating things is that an interval which appears in $\phi(U)$ might actually have been flipped by $\phi$ compared to the interval it came from in $I$. For example, if $(-1,1)\subseteq I$, $\phi$ might multiply it by $-1$ but not do that to other nearby subintervals.
Can someone please offer some suggestions on how to go about proving the parenthetical statement.