diff options
author | Melanie | 2019-08-20 23:28:59 +0100 |
---|---|---|
committer | Melanie | 2019-08-20 23:28:59 +0100 |
commit | 0fd17c08ae642fac17b24dfad06c61cfe5739483 (patch) | |
tree | 4871c96eab2f5b118cb09d670a3a4ba024cf1210 /OpenSim/Region/CoreModules/Avatar/Attachments | |
parent | change PGSQL migration (diff) | |
download | opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.zip opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.gz opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.bz2 opensim-SC-0fd17c08ae642fac17b24dfad06c61cfe5739483.tar.xz |
Massive console refactor. Greatly simplify interface.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Attachments')
-rwxr-xr-x[-rw-r--r--] | OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs index 5205576..864fc79 100644..100755 --- a/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Attachments/AttachmentsModule.cs | |||
@@ -159,27 +159,27 @@ namespace OpenSim.Region.CoreModules.Avatar.Attachments | |||
159 | 159 | ||
160 | if (!(args.Length == 4 && int.TryParse(args[3], out debugLevel))) | 160 | if (!(args.Length == 4 && int.TryParse(args[3], out debugLevel))) |
161 | { | 161 | { |
162 | MainConsole.Instance.OutputFormat("Usage: debug attachments log [0|1]"); | 162 | MainConsole.Instance.Output("Usage: debug attachments log [0|1]"); |
163 | } | 163 | } |
164 | else | 164 | else |
165 | { | 165 | { |
166 | DebugLevel = debugLevel; | 166 | DebugLevel = debugLevel; |
167 | MainConsole.Instance.OutputFormat( | 167 | MainConsole.Instance.Output( |
168 | "Set attachments debug level to {0} in {1}", DebugLevel, m_scene.Name); | 168 | "Set attachments debug level to {0} in {1}", null, DebugLevel, m_scene.Name); |
169 | } | 169 | } |
170 | } | 170 | } |
171 | 171 | ||
172 | private void HandleDebugAttachmentsStatus(string module, string[] args) | 172 | private void HandleDebugAttachmentsStatus(string module, string[] args) |
173 | { | 173 | { |
174 | MainConsole.Instance.OutputFormat("Settings for {0}", m_scene.Name); | 174 | MainConsole.Instance.Output("Settings for {0}", null, m_scene.Name); |
175 | MainConsole.Instance.OutputFormat("Debug logging level: {0}", DebugLevel); | 175 | MainConsole.Instance.Output("Debug logging level: {0}", null, DebugLevel); |
176 | } | 176 | } |
177 | 177 | ||
178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) | 178 | protected void HandleShowAttachmentsCommand(string module, string[] cmd) |
179 | { | 179 | { |
180 | if (cmd.Length != 2 && cmd.Length < 4) | 180 | if (cmd.Length != 2 && cmd.Length < 4) |
181 | { | 181 | { |
182 | MainConsole.Instance.OutputFormat("Usage: attachments show [<first-name> <last-name>]"); | 182 | MainConsole.Instance.Output("Usage: attachments show [<first-name> <last-name>]"); |
183 | return; | 183 | return; |
184 | } | 184 | } |
185 | 185 | ||