[Lldb-commits] [lldb] c8e4eb1 - [LLDB] Fix help text for "platform settings"

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 16 01:37:35 PST 2023


Author: David Spickett
Date: 2023-01-16T09:37:29Z
New Revision: c8e4eb1043f4be6d9d823ce8f3238dca3479ffd4

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

LOG: [LLDB] Fix help text for "platform settings"

This claims to take a platform name argument but doesn't.

That was probably the intent in fbb7634934d40548b650574a2f2a85ab41527674
but it has only ever worked with the current platform.

Reviewed By: clayborg

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

Added: 
    

Modified: 
    lldb/source/Commands/CommandObjectPlatform.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Commands/CommandObjectPlatform.cpp b/lldb/source/Commands/CommandObjectPlatform.cpp
index 69c44fe8c8c44..1ab218fa6fb27 100644
--- a/lldb/source/Commands/CommandObjectPlatform.cpp
+++ b/lldb/source/Commands/CommandObjectPlatform.cpp
@@ -379,8 +379,7 @@ class CommandObjectPlatformSettings : public CommandObjectParsed {
 public:
   CommandObjectPlatformSettings(CommandInterpreter &interpreter)
       : CommandObjectParsed(interpreter, "platform settings",
-                            "Set settings for the current target's platform, "
-                            "or for a platform by name.",
+                            "Set settings for the current target's platform.",
                             "platform settings", 0),
         m_option_working_dir(LLDB_OPT_SET_1, false, "working-dir", 'w',
                              CommandCompletions::eRemoteDiskDirectoryCompletion,


        


More information about the lldb-commits mailing list