diff options
author | MW | 2007-04-26 17:50:25 +0000 |
---|---|---|
committer | MW | 2007-04-26 17:50:25 +0000 |
commit | 14a4ff308190af61783f1c4c686bcfc3dfa07a4f (patch) | |
tree | 70e9c899bfcd1e04399771ff25a89bebdf866867 /OpenSim | |
parent | At last: avatar-template.dat is no more (diff) | |
download | opensim-SC-14a4ff308190af61783f1c4c686bcfc3dfa07a4f.zip opensim-SC-14a4ff308190af61783f1c4c686bcfc3dfa07a4f.tar.gz opensim-SC-14a4ff308190af61783f1c4c686bcfc3dfa07a4f.tar.bz2 opensim-SC-14a4ff308190af61783f1c4c686bcfc3dfa07a4f.tar.xz |
added just what opensim needs...yet another command line option: -noverbose . cut down on the system console output (should really be stopping it all but not all output is going through OpenSim.Framework.Console)
Diffstat (limited to 'OpenSim')
-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; |