igor.script: Replace ArgumentParser(version=...) with a version argument
authorW. Trevor King <wking@tremily.us>
Tue, 2 Aug 2016 04:02:50 +0000 (21:02 -0700)
committerW. Trevor King <wking@tremily.us>
Tue, 2 Aug 2016 04:23:28 +0000 (21:23 -0700)
commit2b2b425de4fe919e05018f773323e76472e4c737
tree550cce8cec1cbf2f0783f0d038442fd54d321966
parent2c2a79d85508c8988b6d4ecfd4d0f55cff35ef11
igor.script: Replace ArgumentParser(version=...) with a version argument

ArgumentParser lost its undocumented version argument in 3.3.0
[1,2,3].  The version action is the documented way to do this [4].

[1]: http://bugs.python.org/issue13248
[2]: https://hg.python.org/cpython/rev/5393382c1b1d
[3]: https://hg.python.org/cpython/file/374f501f4567/Misc/HISTORY#l477
[4]: https://docs.python.org/3/library/argparse.html#action
igor/script.py