]> granicus.if.org Git - llvm/commit
[llvm-ar] Implement the V modifier as an alias for --version
authorJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 18:39:52 +0000 (18:39 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Wed, 16 Oct 2019 18:39:52 +0000 (18:39 +0000)
commitca30c1a99c078c43ff2916c2011d1fec7eea4a4f
treeefb79e9c0bb2ebdf6582c281941b203edda93c8e
parentb531baef64a74ae2daa5c4002da5fc251d9e5681
[llvm-ar] Implement the V modifier as an alias for --version

Summary: Also update the help modifier (h) so that it works as a modifier and not just as a standalone `h`. For example, `llvm-ar h` prints the help message, but `llvm-ar xh` currently prints `unknown option h`.

Reviewers: MaskRay, gbreynoo

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69007

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@375028 91177308-0d34-0410-b5e6-96231b3b80d8
test/tools/llvm-ar/help-message.test
test/tools/llvm-ar/version.test [new file with mode: 0644]
tools/llvm-ar/llvm-ar.cpp