已知函数 $f(x)=\left\{\begin{array}{ll}2(x-1), & x < 1, \\ \ln x, & x \geq 1,\end{array}\right.$ 则 $f(x)$ 的一个原函数是
$\text{A.}$ $F(x)= \begin{cases}(x-1)^2, & x < 1 \\ x(\ln x-1), & x \geq 1\end{cases}$
$\text{B.}$ $F(x)= \begin{cases}(x-1)^2, & x < 1 \\ x(\ln x+1)-1, & x \geq 1\end{cases}$
$\text{C.}$ $F(x)= \begin{cases}(x-1)^2, & x < 1, \\ x(\ln x+1)+1, & x \geq 1 .\end{cases}$
$\text{D.}$ $F(x)= \begin{cases}(x-1)^2, & x < 1, \\ x(\ln x-1)+1, & x \geq 1\end{cases}$