aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/Console/ConsoleBase.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/Console/ConsoleBase.cs b/OpenSim/Framework/Console/ConsoleBase.cs
index e98944c..8e61587 100644
--- a/OpenSim/Framework/Console/ConsoleBase.cs
+++ b/OpenSim/Framework/Console/ConsoleBase.cs
@@ -238,6 +238,12 @@ namespace OpenSim.Framework.Console
238 238
239 foreach (string opt in current.Keys) 239 foreach (string opt in current.Keys)
240 { 240 {
241 if (remaining > 0 && opt == s)
242 {
243 found.Clear();
244 found.Add(opt);
245 break;
246 }
241 if (opt.StartsWith(s)) 247 if (opt.StartsWith(s))
242 { 248 {
243 found.Add(opt); 249 found.Add(opt);
@@ -301,6 +307,12 @@ namespace OpenSim.Framework.Console
301 307
302 foreach (string opt in current.Keys) 308 foreach (string opt in current.Keys)
303 { 309 {
310 if (opt == s)
311 {
312 found.Clear();
313 found.Add(opt);
314 break;
315 }
304 if (opt.StartsWith(s)) 316 if (opt.StartsWith(s))
305 { 317 {
306 found.Add(opt); 318 found.Add(opt);