Comment out code that was preventing commands that take raw input strings
from being alias-able.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116357 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectCommands.cpp b/source/Commands/CommandObjectCommands.cpp
index 88f3aeb..349c3fc 100644
--- a/source/Commands/CommandObjectCommands.cpp
+++ b/source/Commands/CommandObjectCommands.cpp
@@ -310,15 +310,15 @@
if (args.GetArgumentCount () > 0)
{
- if ((!use_subcommand && (cmd_obj->WantsRawCommandString()))
- || (use_subcommand && (sub_cmd_obj->WantsRawCommandString())))
- {
- result.AppendErrorWithFormat ("'%s' cannot be aliased with any options or arguments.\n",
- (use_subcommand ? sub_cmd_obj->GetCommandName()
- : cmd_obj->GetCommandName()));
- result.SetStatus (eReturnStatusFailed);
- return false;
- }
+ //if ((!use_subcommand && (cmd_obj->WantsRawCommandString()))
+ // || (use_subcommand && (sub_cmd_obj->WantsRawCommandString())))
+ //{
+ // result.AppendErrorWithFormat ("'%s' cannot be aliased with any options or arguments.\n",
+ // (use_subcommand ? sub_cmd_obj->GetCommandName()
+ // : cmd_obj->GetCommandName()));
+ // result.SetStatus (eReturnStatusFailed);
+ // return false;
+ //}
// options or arguments have been passed to the alias command, and must be
// verified & processed here.