Skip to content

Commit

Permalink
[LLDB] Fix help text for "platform settings"
Browse files Browse the repository at this point in the history
This claims to take a platform name argument but doesn't.

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

Reviewed By: clayborg

Differential Revision: https://reviews.llvm.org/D136928
  • Loading branch information
DavidSpickett committed Jan 16, 2023
1 parent 68a534e commit c8e4eb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lldb/source/Commands/CommandObjectPlatform.cpp
Expand Up @@ -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,
Expand Down

0 comments on commit c8e4eb1

Please sign in to comment.