[llvm] r290465 - llvm-readobj: remove leading dash in '-a' option (ARMAttributesShort)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 23 15:54:52 PST 2016
Author: mehdi_amini
Date: Fri Dec 23 17:54:52 2016
New Revision: 290465
URL: http://llvm.org/viewvc/llvm-project?rev=290465&view=rev
Log:
llvm-readobj: remove leading dash in '-a' option (ARMAttributesShort)
cl::opt does not accept such option
Modified:
llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
Modified: llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp?rev=290465&r1=290464&r2=290465&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp (original)
+++ llvm/trunk/tools/llvm-readobj/llvm-readobj.cpp Fri Dec 23 17:54:52 2016
@@ -166,7 +166,7 @@ namespace opts {
// -arm-attributes, -a
cl::opt<bool> ARMAttributes("arm-attributes",
cl::desc("Display the ARM attributes section"));
- cl::alias ARMAttributesShort("-a", cl::desc("Alias for --arm-attributes"),
+ cl::alias ARMAttributesShort("a", cl::desc("Alias for --arm-attributes"),
cl::aliasopt(ARMAttributes));
// -mips-plt-got
More information about the llvm-commits
mailing list