[LLDB] Fix help text for "platform settings"
authorDavid Spickett <david.spickett@linaro.org>
Fri, 28 Oct 2022 09:13:13 +0000 (09:13 +0000)
committerDavid Spickett <david.spickett@linaro.org>
Mon, 16 Jan 2023 09:37:29 +0000 (09:37 +0000)
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

lldb/source/Commands/CommandObjectPlatform.cpp

index 69c44fe..1ab218f 100644 (file)
@@ -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,