Heat oil in medium sized pan, add onions, and saute 5 minutes. Add garlic and saute 1-2 minutes more. Add lentils, curry powder, and stock, bring to a simmer, and cover pan and cook until lentils are tender and liquid is absorbed. I cooked this nearly 40 minutes and had to add more liquid several times, so check it every few minutes. When done, remove from heat, stir in parsley, season with salt and pepper and serve warm.