* Main.cs: Do not use "/" as a separator, because this breaks

filesystem paths on Unix.
This commit is contained in:
the_fiddler 2010-12-05 22:58:20 +00:00
parent d542896f59
commit b4a6448261

View file

@ -60,7 +60,7 @@ namespace Bind
{ {
if (a.StartsWith("--") || a.StartsWith("-") || a.StartsWith("/")) if (a.StartsWith("--") || a.StartsWith("-") || a.StartsWith("/"))
{ {
string[] b = a.Split(new char[] { '-', '/', ':', '=' }, StringSplitOptions.RemoveEmptyEntries); string[] b = a.Split(new char[] { '-', ':', '=' }, StringSplitOptions.RemoveEmptyEntries);
switch (b[0]) switch (b[0])
{ {
case "?": case "?":