llvm-cov: Make llvm-cov --version DTRT
authorJustin Bogner <mail@justinbogner.com>
Wed, 3 Jun 2015 02:48:09 +0000 (02:48 +0000)
committerJustin Bogner <mail@justinbogner.com>
Wed, 3 Jun 2015 02:48:09 +0000 (02:48 +0000)
commitcbf5311a347da4745e92fcd0e15997f5d4960ab9
tree945082b6bc188553c0f3bb088891397a64c00ee9
parenta3a2cab504a693ad926e93696ae9cadafba460ca
llvm-cov: Make llvm-cov --version DTRT

In r233132 we started requiring a subcommand in llvm-cov, but this
made `llvm-cov --version` invalid, which is kind of silly. Print
version information in this case, as most people would expect.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238897 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-cov/llvm-cov.cpp