[all-commits] [llvm/llvm-project] 887240: Remove the undocumented `help` subcommand.

jimingham via All-commits all-commits at lists.llvm.org
Thu Jan 19 12:03:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 887240faf769395511d1568b4e50aafc6fe3b696
      https://github.com/llvm/llvm-project/commit/887240faf769395511d1568b4e50aafc6fe3b696
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M lldb/source/Commands/CommandObjectMultiword.cpp
    M lldb/test/API/functionalities/multiword-commands/TestMultiWordCommands.py

  Log Message:
  -----------
  Remove the undocumented `help` subcommand.

This is processed by hand in CommandObjectMultiword, and is undiscoverable,
it doesn't work in all cases.  Because it is a bare word, it can't really be
extended w/o introducing the possibility of collisions as well.  If we did
want to do something like this we should add a --help flag to CommandObject.  That
way the feature would be consistent and documented.

Differential Revision: https://reviews.llvm.org/D142067




More information about the All-commits mailing list