[lit] Refine adoption of argparse --version action
authorJulian Lettner <julian.lettner@gmail.com>
Wed, 30 Oct 2019 06:06:00 +0000 (23:06 -0700)
committerJulian Lettner <julian.lettner@apple.com>
Tue, 31 Mar 2020 23:02:16 +0000 (16:02 -0700)
commita3fab31acd6b99dd70334df7fbfae22b914e3214
tree5107172a6a7b2e9fedc88b7cb58439fd311d3e43
parent64799fbebddc9877f78c7501b0b986b7afe84d6b
[lit] Refine adoption of argparse --version action

The real work for this was already done by serge-sans-paille [1].
Thanks for this!

[1] 1d4849379f71a0f5d73202a291c0b709f7cafbc5
llvm/utils/lit/lit/cl_arguments.py
llvm/utils/lit/lit/main.py
llvm/utils/lit/tests/usage.py
llvm/utils/lit/tests/version.py [deleted file]