Yengine replace xmr by yeng on console comands

httptests
UbitUmarov 2018-02-23 15:28:05 +00:00
parent 2129d941ac
commit f158867d93
2 changed files with 19 additions and 19 deletions

View File

@ -68,7 +68,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
if(args[i] == "-help")
{
m_log.Info("[YEngine]: xmr ls -full -max=<number> -out=<filename> -queues -topcpu");
m_log.Info("[YEngine]: yeng ls -full -max=<number> -out=<filename> -queues -topcpu");
return;
}
if(args[i].StartsWith("-max="))
@ -101,7 +101,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
if(args[i][0] == '-')
{
m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'xmr ls -help'");
m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'yeng ls -help'");
return;
}
}
@ -221,12 +221,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
if(arg == "-help")
{
m_log.Info("[YEngine]: xmr pev -all | <part-of-script-name> <event-name> <params...>");
m_log.Info("[YEngine]: yeng pev -all | <part-of-script-name> <event-name> <params...>");
return;
}
if(arg[0] == '-')
{
m_log.Error("[YEngine]: unknown option " + arg + ", try 'xmr pev -help'");
m_log.Error("[YEngine]: unknown option " + arg + ", try 'yeng pev -help'");
return;
}
for(j = 0; j < eventmethods.Length; j++)
@ -237,7 +237,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
selargs.Add(arg);
}
m_log.Error("[YEngine]: missing <event-name> <params...>, try 'xmr pev -help'");
m_log.Error("[YEngine]: missing <event-name> <params...>, try 'yeng pev -help'");
return;
gotevent:
string eventname = eventmethod.Name;
@ -427,12 +427,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine
}
if(args[i] == "-help")
{
m_log.Info("[YEngine]: xmr reset -all | <part-of-script-name>");
m_log.Info("[YEngine]: yeng reset -all | <part-of-script-name>");
return;
}
if(args[i][0] == '-')
{
m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'xmr reset -help'");
m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'yeng reset -help'");
return;
}
}

View File

@ -280,7 +280,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
MainConsole.Instance.Commands.AddCommand("yeng", false,
"yeng",
"yeng [...|help|...] ...",
"Run Yengine script engine commands",
"Run YEngine script engine commands",
RunTest);
TraceCalls("[YEngine]: Initialize successful");
@ -746,7 +746,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
{
if(args.Length < 2)
{
m_log.Info("[YEngine]: missing command, try 'xmr help'");
m_log.Info("[YEngine]: missing command, try 'yeng help'");
return;
}
@ -761,15 +761,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine
case "help":
case "?":
m_log.Info("[YEngine]: xmr cvv - show compiler version value");
m_log.Info("[YEngine]: xmr ls [-help ...]");
m_log.Info("[YEngine]: xmr mv [<newvalue>] - show migration version value");
m_log.Info("[YEngine]: xmr pev [-help ...] - post event");
m_log.Info("[YEngine]: xmr reset [-help ...]");
m_log.Info("[YEngine]: xmr resume - resume script processing");
m_log.Info("[YEngine]: xmr suspend - suspend script processing");
m_log.Info("[YEngine]: xmr tracecalls [yes | no]");
m_log.Info("[YEngine]: xmr verbose [yes | no]");
m_log.Info("[YEngine]: yeng reset [-help ...]");
m_log.Info("[YEngine]: yeng resume - resume script processing");
m_log.Info("[YEngine]: yeng suspend - suspend script processing");
m_log.Info("[YEngine]: yeng ls [-help ...]");
m_log.Info("[YEngine]: yeng cvv - show compiler version value");
m_log.Info("[YEngine]: yeng mvv [<newvalue>] - show migration version value");
m_log.Info("[YEngine]: yeng tracecalls [yes | no]");
m_log.Info("[YEngine]: yeng verbose [yes | no]");
m_log.Info("[YEngine]: yeng pev [-help ...] - post event");
break;
case "ls":
@ -812,7 +812,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine
break;
default:
m_log.Error("[YEngine]: unknown command " + args[1] + ", try 'xmr help'");
m_log.Error("[YEngine]: unknown command " + args[1] + ", try 'yeng help'");
break;
}
}