Proper command-line args parsing

Hi there!

Thank you for sharing this great tool!

One thing I find annoying, is that it fails with huge stacktrace when run without arguments. Also, I needed to import several Wikipedia dumps (multilingual) to separate indexes, so I added --index option. That's my motivation on this patch.

Hopefully, you'll find it reasonable :)