Applies patch from lkalif, Mantis#43 that changes the argument parsing handler in TestClient to allow it to connect through SLProxy.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@1686 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2008-03-22 01:01:05 +00:00
parent d78502daac
commit ffaacc18cf

View File

@@ -16,7 +16,7 @@ namespace CommandLine.Utility
public Arguments(string[] Args)
{
Parameters = new StringDictionary();
Regex Splitter = new Regex(@"^-{1,2}|=|:",
Regex Splitter = new Regex(@"^-{1,2}|=",
RegexOptions.IgnoreCase | RegexOptions.Compiled);
Regex Remover = new Regex(@"^['""]?(.*?)['""]?$",
@@ -28,7 +28,7 @@ namespace CommandLine.Utility
// Valid parameters forms:
// {-,/,--}param{ ,=,:}((",')value(",'))
// Examples:
// -param1 value1 --param2 /param3:"Test-:-work"
// -param1 value1 --param2
// /param4=happy -param5 '--=nice=--'
foreach (string Txt in Args)
{