diff options
Diffstat (limited to 'lldb/source/Interpreter/CommandObject.cpp')
-rw-r--r-- | lldb/source/Interpreter/CommandObject.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lldb/source/Interpreter/CommandObject.cpp b/lldb/source/Interpreter/CommandObject.cpp index 67d57f1b1e1..291dc401357 100644 --- a/lldb/source/Interpreter/CommandObject.cpp +++ b/lldb/source/Interpreter/CommandObject.cpp @@ -94,7 +94,7 @@ CommandObject::GetSyntax () if (m_arguments.size() > 0) { syntax_str.Printf (" "); - if (WantsRawCommandString()) + if (WantsRawCommandString() && GetOptions() && GetOptions()->NumCommandOptions()) syntax_str.Printf("-- "); GetFormattedCommandArguments (syntax_str); } @@ -105,13 +105,6 @@ CommandObject::GetSyntax () } const char * -CommandObject::Translate () -{ - //return m_cmd_func_name.c_str(); - return "This function is currently not implemented."; -} - -const char * CommandObject::GetCommandName () { return m_cmd_name.c_str(); |