main: Add an explicit --version argument.
authorW. Trevor King <wking@tremily.us>
Wed, 9 Jan 2013 16:01:17 +0000 (11:01 -0500)
committerW. Trevor King <wking@tremily.us>
Wed, 9 Jan 2013 16:39:31 +0000 (11:39 -0500)
commit51172e5befd4b1d1e3891440c10bd1f4e6885e8a
tree82a3bb31d5784d66444971360599b827dbd6a0b4
parente50f06df907da764d787ddb9698d5cca2757c100
main: Add an explicit --version argument.

Use an explicit `version` action instead of the undocumented (and
deprecated) `version` keyword to ArgumentParser [1,2].

[1]: http://docs.python.org/3.3/library/argparse.html#action
[2]: http://docs.python.org/3.3/library/argparse.html#upgrading-optparse-code

Signed-off-by: W. Trevor King <wking@tremily.us>
rss2email/main.py