Switch to argparse, since optparse is obsolete.
Group the debug args together.
Kill the bibliofile option, since all the files are now local to the repo.
Change -i/-o to be type=file