diff --git a/DATabase/Program.cs b/DATabase/Program.cs index 9ec7432d..ff33fe3c 100644 --- a/DATabase/Program.cs +++ b/DATabase/Program.cs @@ -42,7 +42,7 @@ namespace DATabase old = old || (arg == "-old" || arg == "--old"); systems = (arg.Split('=')[0] == "system" && systems == "" ? arg.Split('=')[1] : systems); sources = (arg.Split('=')[0] == "source" && sources == "" ? arg.Split('=')[1] : sources); - input = (!arg.StartsWith("-") && !arg.Contains("=") ? arg : ""); + input = (!arg.StartsWith("-") && !arg.StartsWith("source=") && !arg.StartsWith("system=") ? arg : ""); } // If more than one switch is enabled, show the help screen @@ -291,7 +291,7 @@ Usage: DATabase