Fixed some CLI bugs

This commit is contained in:
erri120 2020-02-20 11:40:20 +01:00
parent 6f80a40dc9
commit a0826c9de6
No known key found for this signature in database
GPG Key ID: A8C0A18D8D4D3135

View File

@ -29,10 +29,10 @@ namespace Wabbajack.CLI.Verbs
[Option("mods", Required = false, HelpText = "Mods folder location if the provided modlist file is an MO2 modlist.txt")]
public string Mods { get; set; }
[Option("copy", Default = true, HelpText = "Whether to copy the files")]
[Option("copy", Default = true, HelpText = "Whether to copy the files", SetName = "copy")]
public bool Copy { get; set; }
[Option("move", Default = false, HelpText = "Whether to move the files")]
[Option("move", Default = false, HelpText = "Whether to move the files", SetName = "move")]
public bool Move { get; set; }
[Option("overwrite", Default = false, HelpText = "Whether to overwrite the file if it already exists")]
@ -102,7 +102,7 @@ namespace Wabbajack.CLI.Verbs
try
{
modlist = AInstaller.LoadFromFile(Input);
modlist = AInstaller.LoadFromFile(Modlist);
}
catch (Exception e)
{