[llvm-branch-commits] [llvm] 8de1b29 - [llvm-objdump] Fix help message for --print-imm-hex

Tobias Hieta via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Mar 27 23:59:57 PDT 2023


Author: Yi Kong
Date: 2023-03-28T08:59:37+02:00
New Revision: 8de1b29840b5d14e640ff5fecf8b9437e3556537

URL: https://github.com/llvm/llvm-project/commit/8de1b29840b5d14e640ff5fecf8b9437e3556537
DIFF: https://github.com/llvm/llvm-project/commit/8de1b29840b5d14e640ff5fecf8b9437e3556537.diff

LOG: [llvm-objdump] Fix help message for --print-imm-hex

Commit cc2457ca1bbd changed the default but forgot to update the help message.

(cherry picked from commit 3d65cd405d64afd86a59c1f58098dfe891841271)

Added: 
    

Modified: 
    llvm/tools/llvm-objdump/ObjdumpOpts.td

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-objdump/ObjdumpOpts.td b/llvm/tools/llvm-objdump/ObjdumpOpts.td
index de7f883d24a80..c6627c75157b8 100644
--- a/llvm/tools/llvm-objdump/ObjdumpOpts.td
+++ b/llvm/tools/llvm-objdump/ObjdumpOpts.td
@@ -145,10 +145,10 @@ def reloc : Flag<["--"], "reloc">,
 def : Flag<["-"], "r">, Alias<reloc>, HelpText<"Alias for --reloc">;
 
 def print_imm_hex : Flag<["--"], "print-imm-hex">,
-  HelpText<"Use hex format for immediate values">;
+  HelpText<"Use hex format for immediate values (default)">;
 
 def no_print_imm_hex : Flag<["--"], "no-print-imm-hex">,
-  HelpText<"Do not use hex format for immediate values (default)">;
+  HelpText<"Do not use hex format for immediate values">;
 def : Flag<["--"], "print-imm-hex=false">, Alias<no_print_imm_hex>;
 
 def private_headers : Flag<["--"], "private-headers">,


        


More information about the llvm-branch-commits mailing list