forked from OSchip/llvm-project
[llvm-readelf] Make -W an alias of --wide
Currently -W and --wide are treated as two options as they are only included for gnu readelf compatibility and ignored. This change makes -W an alias of --wide to be consistent with other option aliases. Differential Revision: https://reviews.llvm.org/D111731
This commit is contained in:
parent
8cd9c351a1
commit
a64e6ecfe1
|
@ -87,8 +87,8 @@ def help : FF<"help", "Display this help">;
|
||||||
def version : FF<"version", "Display the version">;
|
def version : FF<"version", "Display the version">;
|
||||||
|
|
||||||
// Ignored for GNU readelf compatibility.
|
// Ignored for GNU readelf compatibility.
|
||||||
def : F<"W", "Ignored for GNU readelf compatibility">;
|
def wide : FF<"wide", "Ignored for GNU readelf compatibility">;
|
||||||
def : FF<"wide", "Ignored for GNU readelf compatibility">;
|
def : F<"W", "Ignored for GNU readelf compatibility">, Alias<wide>;
|
||||||
|
|
||||||
// Traditional llvm-readobj Aliases.
|
// Traditional llvm-readobj Aliases.
|
||||||
def : Flag<["--"], "dt">, Alias<dyn_syms>, HelpText<"Alias for --dyn-syms">;
|
def : Flag<["--"], "dt">, Alias<dyn_syms>, HelpText<"Alias for --dyn-syms">;
|
||||||
|
|
Loading…
Reference in New Issue