Add alias information, including aliased command options &
arguments, to help text for alias commands.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@117617 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectCommands.cpp b/source/Commands/CommandObjectCommands.cpp
index 3718658..8bbe914 100644
--- a/source/Commands/CommandObjectCommands.cpp
+++ b/source/Commands/CommandObjectCommands.cpp
@@ -339,6 +339,7 @@
if (!result.Succeeded() && result.GetStatus() != lldb::eReturnStatusStarted)
{
result.AppendError ("Unable to create requested command alias.\n");
+ return false;
}
}
@@ -378,6 +379,7 @@
{
result.AppendErrorWithFormat ("'%s' is not an existing command.\n", actual_command.c_str());
result.SetStatus (eReturnStatusFailed);
+ return false;
}
}