diff options
author | UbitUmarov | 2018-02-23 15:28:05 +0000 |
---|---|---|
committer | UbitUmarov | 2018-02-23 15:28:05 +0000 |
commit | f158867d935da8e44a930352ab4dc028779244ec (patch) | |
tree | 1695f4af9aa38ce873c1db41daf87bda00cb8536 /OpenSim | |
parent | rename XMREngine as Yengine (still not all done), big mess source formating c... (diff) | |
download | opensim-SC-f158867d935da8e44a930352ab4dc028779244ec.zip opensim-SC-f158867d935da8e44a930352ab4dc028779244ec.tar.gz opensim-SC-f158867d935da8e44a930352ab4dc028779244ec.tar.bz2 opensim-SC-f158867d935da8e44a930352ab4dc028779244ec.tar.xz |
Yengine replace xmr by yeng on console comands
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMREngXmrTestLs.cs | 14 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs | 24 |
2 files changed, 19 insertions, 19 deletions
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngXmrTestLs.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngXmrTestLs.cs index 6b752bd..19ff336 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMREngXmrTestLs.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngXmrTestLs.cs | |||
@@ -68,7 +68,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
68 | } | 68 | } |
69 | if(args[i] == "-help") | 69 | if(args[i] == "-help") |
70 | { | 70 | { |
71 | m_log.Info("[YEngine]: xmr ls -full -max=<number> -out=<filename> -queues -topcpu"); | 71 | m_log.Info("[YEngine]: yeng ls -full -max=<number> -out=<filename> -queues -topcpu"); |
72 | return; | 72 | return; |
73 | } | 73 | } |
74 | if(args[i].StartsWith("-max=")) | 74 | if(args[i].StartsWith("-max=")) |
@@ -101,7 +101,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
101 | } | 101 | } |
102 | if(args[i][0] == '-') | 102 | if(args[i][0] == '-') |
103 | { | 103 | { |
104 | m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'xmr ls -help'"); | 104 | m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'yeng ls -help'"); |
105 | return; | 105 | return; |
106 | } | 106 | } |
107 | } | 107 | } |
@@ -221,12 +221,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
221 | } | 221 | } |
222 | if(arg == "-help") | 222 | if(arg == "-help") |
223 | { | 223 | { |
224 | m_log.Info("[YEngine]: xmr pev -all | <part-of-script-name> <event-name> <params...>"); | 224 | m_log.Info("[YEngine]: yeng pev -all | <part-of-script-name> <event-name> <params...>"); |
225 | return; | 225 | return; |
226 | } | 226 | } |
227 | if(arg[0] == '-') | 227 | if(arg[0] == '-') |
228 | { | 228 | { |
229 | m_log.Error("[YEngine]: unknown option " + arg + ", try 'xmr pev -help'"); | 229 | m_log.Error("[YEngine]: unknown option " + arg + ", try 'yeng pev -help'"); |
230 | return; | 230 | return; |
231 | } | 231 | } |
232 | for(j = 0; j < eventmethods.Length; j++) | 232 | for(j = 0; j < eventmethods.Length; j++) |
@@ -237,7 +237,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
237 | } | 237 | } |
238 | selargs.Add(arg); | 238 | selargs.Add(arg); |
239 | } | 239 | } |
240 | m_log.Error("[YEngine]: missing <event-name> <params...>, try 'xmr pev -help'"); | 240 | m_log.Error("[YEngine]: missing <event-name> <params...>, try 'yeng pev -help'"); |
241 | return; | 241 | return; |
242 | gotevent: | 242 | gotevent: |
243 | string eventname = eventmethod.Name; | 243 | string eventname = eventmethod.Name; |
@@ -427,12 +427,12 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
427 | } | 427 | } |
428 | if(args[i] == "-help") | 428 | if(args[i] == "-help") |
429 | { | 429 | { |
430 | m_log.Info("[YEngine]: xmr reset -all | <part-of-script-name>"); | 430 | m_log.Info("[YEngine]: yeng reset -all | <part-of-script-name>"); |
431 | return; | 431 | return; |
432 | } | 432 | } |
433 | if(args[i][0] == '-') | 433 | if(args[i][0] == '-') |
434 | { | 434 | { |
435 | m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'xmr reset -help'"); | 435 | m_log.Error("[YEngine]: unknown option " + args[i] + ", try 'yeng reset -help'"); |
436 | return; | 436 | return; |
437 | } | 437 | } |
438 | } | 438 | } |
diff --git a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs index b522344..464fce3 100644 --- a/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs +++ b/OpenSim/Region/ScriptEngine/YEngine/XMREngine.cs | |||
@@ -280,7 +280,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
280 | MainConsole.Instance.Commands.AddCommand("yeng", false, | 280 | MainConsole.Instance.Commands.AddCommand("yeng", false, |
281 | "yeng", | 281 | "yeng", |
282 | "yeng [...|help|...] ...", | 282 | "yeng [...|help|...] ...", |
283 | "Run Yengine script engine commands", | 283 | "Run YEngine script engine commands", |
284 | RunTest); | 284 | RunTest); |
285 | 285 | ||
286 | TraceCalls("[YEngine]: Initialize successful"); | 286 | TraceCalls("[YEngine]: Initialize successful"); |
@@ -746,7 +746,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
746 | { | 746 | { |
747 | if(args.Length < 2) | 747 | if(args.Length < 2) |
748 | { | 748 | { |
749 | m_log.Info("[YEngine]: missing command, try 'xmr help'"); | 749 | m_log.Info("[YEngine]: missing command, try 'yeng help'"); |
750 | return; | 750 | return; |
751 | } | 751 | } |
752 | 752 | ||
@@ -761,15 +761,15 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
761 | 761 | ||
762 | case "help": | 762 | case "help": |
763 | case "?": | 763 | case "?": |
764 | m_log.Info("[YEngine]: xmr cvv - show compiler version value"); | 764 | m_log.Info("[YEngine]: yeng reset [-help ...]"); |
765 | m_log.Info("[YEngine]: xmr ls [-help ...]"); | 765 | m_log.Info("[YEngine]: yeng resume - resume script processing"); |
766 | m_log.Info("[YEngine]: xmr mv [<newvalue>] - show migration version value"); | 766 | m_log.Info("[YEngine]: yeng suspend - suspend script processing"); |
767 | m_log.Info("[YEngine]: xmr pev [-help ...] - post event"); | 767 | m_log.Info("[YEngine]: yeng ls [-help ...]"); |
768 | m_log.Info("[YEngine]: xmr reset [-help ...]"); | 768 | m_log.Info("[YEngine]: yeng cvv - show compiler version value"); |
769 | m_log.Info("[YEngine]: xmr resume - resume script processing"); | 769 | m_log.Info("[YEngine]: yeng mvv [<newvalue>] - show migration version value"); |
770 | m_log.Info("[YEngine]: xmr suspend - suspend script processing"); | 770 | m_log.Info("[YEngine]: yeng tracecalls [yes | no]"); |
771 | m_log.Info("[YEngine]: xmr tracecalls [yes | no]"); | 771 | m_log.Info("[YEngine]: yeng verbose [yes | no]"); |
772 | m_log.Info("[YEngine]: xmr verbose [yes | no]"); | 772 | m_log.Info("[YEngine]: yeng pev [-help ...] - post event"); |
773 | break; | 773 | break; |
774 | 774 | ||
775 | case "ls": | 775 | case "ls": |
@@ -812,7 +812,7 @@ namespace OpenSim.Region.ScriptEngine.Yengine | |||
812 | break; | 812 | break; |
813 | 813 | ||
814 | default: | 814 | default: |
815 | m_log.Error("[YEngine]: unknown command " + args[1] + ", try 'xmr help'"); | 815 | m_log.Error("[YEngine]: unknown command " + args[1] + ", try 'yeng help'"); |
816 | break; | 816 | break; |
817 | } | 817 | } |
818 | } | 818 | } |