Comment out code that was preventing commands that take raw input strings

from being alias-able.

llvm-svn: 116357
This commit is contained in:
Caroline Tice 2010-10-12 22:46:01 +00:00
parent 0924b41201
commit 4239eadeee
1 changed files with 9 additions and 9 deletions

View File

@ -310,15 +310,15 @@ public:
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.