summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/StripOpts.td
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/llvm-objcopy/StripOpts.td')
-rw-r--r--llvm/tools/llvm-objcopy/StripOpts.td3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objcopy/StripOpts.td b/llvm/tools/llvm-objcopy/StripOpts.td
index 3660148f883..032aa6f85c7 100644
--- a/llvm/tools/llvm-objcopy/StripOpts.td
+++ b/llvm/tools/llvm-objcopy/StripOpts.td
@@ -51,7 +51,8 @@ defm remove_section : Eq<"remove-section", "Remove <section>">,
MetaVarName<"section">;
def R : JoinedOrSeparate<["-"], "R">, Alias<remove_section>;
-defm keep : Eq<"keep", "Keep <section>">, MetaVarName<"section">;
+defm keep_section : Eq<"keep-section", "Keep <section>">,
+ MetaVarName<"section">;
defm keep_symbol : Eq<"keep-symbol", "Do not remove symbol <symbol>">,
MetaVarName<"symbol">;
def K : JoinedOrSeparate<["-"], "K">, Alias<keep_symbol>;
OpenPOWER on IntegriCloud