Artinian local ring with every non-maximal ideal being principal [closed]

Let $(R, \mathfrak m)$ be an Artinian local ring with every non-maximal ideal being principal. Then is $R$ a principal ideal ring ?

closed as off-topic by user26857, José Carlos Santos, Xander Henderson, Saad, B. MehtaJun 10 '18 at 1:45

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question is missing context or other details: Please improve the question by providing additional context, which ideally includes your thoughts on the problem and any attempts you have made to solve it. This information helps others identify where you have difficulties and helps them write answers appropriate to your experience level." – user26857, José Carlos Santos, Xander Henderson, Saad, B. Mehta
If this question can be reworded to fit the rules in the help center, please edit the question.

Take $R=k[x,y]/(x,y)^2$. Then $(x,y)$ is a $2$-dimensional $k$-vector space and clearly not principal. Let $I \subseteq R$ with $I \neq R$. Then $I \subseteq (x,y)$ with the induce vector space structure. So, for $I \neq (x,y)$ the $k$-dimension of $I$ is at most $1$, showing that $I$ is principal.