mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Make filename input easier again
This commit is contained in:
@@ -42,7 +42,7 @@ namespace DATabase
|
|||||||
old = old || (arg == "-old" || arg == "--old");
|
old = old || (arg == "-old" || arg == "--old");
|
||||||
systems = (arg.Split('=')[0] == "system" && systems == "" ? arg.Split('=')[1] : systems);
|
systems = (arg.Split('=')[0] == "system" && systems == "" ? arg.Split('=')[1] : systems);
|
||||||
sources = (arg.Split('=')[0] == "source" && sources == "" ? arg.Split('=')[1] : sources);
|
sources = (arg.Split('=')[0] == "source" && sources == "" ? arg.Split('=')[1] : sources);
|
||||||
input = (arg.Split('=')[0] == "input" ? arg.Split('=')[1] : input);
|
input = (!arg.StartsWith("-") && !arg.Contains("=") ? arg : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
// If more than one switch is enabled, show the help screen
|
// If more than one switch is enabled, show the help screen
|
||||||
|
|||||||
Reference in New Issue
Block a user