mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 20:09:46 +00:00
[llvm-install-name-tool] Add -V flag
This diff adds -V alias for --version to make llvm-install-name-tool consistent with other tools (llvm-objcopy, llvm-strip, etc). Test plan: make check-all Differential revision: https://reviews.llvm.org/D87264
This commit is contained in:
parent
cc42fa16c4
commit
85362afc67
@ -5,6 +5,7 @@
|
||||
# RUN: llvm-strip -V | FileCheck --check-prefix=STRIP %s
|
||||
|
||||
# RUN: llvm-install-name-tool --version | FileCheck %s
|
||||
# RUN: llvm-install-name-tool -V | FileCheck %s
|
||||
|
||||
# OBJCOPY-DAG: {{ version }}
|
||||
# OBJCOPY-DAG: GNU objcopy
|
||||
|
@ -32,3 +32,7 @@ def change: MultiArg<["-", "--"], "change", 2>,
|
||||
|
||||
def version : Flag<["--"], "version">,
|
||||
HelpText<"Print the version and exit.">;
|
||||
|
||||
def V : Flag<["-"], "V">,
|
||||
Alias<version>,
|
||||
HelpText<"Alias for --version">;
|
||||
|
Loading…
Reference in New Issue
Block a user