changelog
cmdln.main() improvements

Fixes #2.