Added check to exit when both Copy and Move flags are set

This commit is contained in:
erri120 2020-02-19 15:56:43 +01:00
parent 55ba89b8e0
commit d7becbfd1b
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -86,6 +86,12 @@ namespace Wabbajack.CLI.Verbs
return -1;
}
if (Copy && Move)
{
Log("You can't set both copy and move flags!");
return -1;
}
var isModlist = Modlist.EndsWith(Consts.ModListExtension);
var list = new List<TransferFile>();