[all-commits] [llvm/llvm-project] 267772: [lldb] Underline short option letters as mnemonics...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Aug 26 08:07:46 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 26777283e6cb952ba9242c6299b0948dcc3253a5
      https://github.com/llvm/llvm-project/commit/26777283e6cb952ba9242c6299b0948dcc3253a5
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2025-08-26 (Tue, 26 Aug 2025)

  Changed paths:
    M lldb/include/lldb/Interpreter/Options.h
    M lldb/source/Commands/CommandObjectDisassemble.cpp
    M lldb/source/Commands/CommandObjectFrame.cpp
    M lldb/source/Commands/CommandObjectTarget.cpp
    M lldb/source/Commands/Options.td
    M lldb/source/Interpreter/CommandObject.cpp
    M lldb/source/Interpreter/Options.cpp

  Log Message:
  -----------
  [lldb] Underline short option letters as mnemonics (#153695)

Whenever an option would use something other than the first letter of
the long option as the short option, Jim would capitalized the letter we
picked as a mnemonic. This has often been mistaken for a typo and Jim
wondered if we should stop doing this.

During the discussion, David mentioned how this reminds him of the
underline in menu bars when holding down alt. I suggested we do
something similar in LLDB by underlying the letter in the description.

https://discourse.llvm.org/t/should-we-remove-the-capital-letter-in-option-helps/87816



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list