mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Merge pull request #559 from erri120/cli-downloads-fixes
Fixed some CLI bugs
This commit is contained in:
commit
2cc55ccdf1
@ -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")]
|
[Option("mods", Required = false, HelpText = "Mods folder location if the provided modlist file is an MO2 modlist.txt")]
|
||||||
public string Mods { get; set; }
|
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; }
|
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; }
|
public bool Move { get; set; }
|
||||||
|
|
||||||
[Option("overwrite", Default = false, HelpText = "Whether to overwrite the file if it already exists")]
|
[Option("overwrite", Default = false, HelpText = "Whether to overwrite the file if it already exists")]
|
||||||
@ -102,7 +102,7 @@ namespace Wabbajack.CLI.Verbs
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
modlist = AInstaller.LoadFromFile(Input);
|
modlist = AInstaller.LoadFromFile(Modlist);
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user