diff options
Diffstat (limited to 'OpenSim/Application.cs')
-rw-r--r-- | OpenSim/Application.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Application.cs b/OpenSim/Application.cs index 56fcf53..6adc540 100644 --- a/OpenSim/Application.cs +++ b/OpenSim/Application.cs | |||
@@ -21,6 +21,7 @@ namespace OpenSim | |||
21 | bool userAccounts = false; | 21 | bool userAccounts = false; |
22 | bool gridLocalAsset = false; | 22 | bool gridLocalAsset = false; |
23 | bool useConfigFile = false; | 23 | bool useConfigFile = false; |
24 | bool noverbose = false; | ||
24 | 25 | ||
25 | for (int i = 0; i < args.Length; i++) | 26 | for (int i = 0; i < args.Length; i++) |
26 | { | 27 | { |
@@ -55,9 +56,13 @@ namespace OpenSim | |||
55 | { | 56 | { |
56 | useConfigFile = true; | 57 | useConfigFile = true; |
57 | } | 58 | } |
59 | if (args[i] == "-noverbose") | ||
60 | { | ||
61 | noverbose = true; | ||
62 | } | ||
58 | } | 63 | } |
59 | 64 | ||
60 | OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine, useConfigFile); | 65 | OpenSimMain sim = new OpenSimMain( sandBoxMode, startLoginServer, physicsEngine, useConfigFile, noverbose); |
61 | // OpenSimRoot.Instance.Application = sim; | 66 | // OpenSimRoot.Instance.Application = sim; |
62 | sim.m_sandbox = sandBoxMode; | 67 | sim.m_sandbox = sandBoxMode; |
63 | sim.user_accounts = userAccounts; | 68 | sim.user_accounts = userAccounts; |