add option --title for filling in the title

added --title option to specify a title, but did not add a test for it.
This is the first python project I contribute to, and I'm not (yet) too familiar with writing test.