Skip to content

Commit

Permalink
Fix --no-compile being ignored.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gwindalmir committed Jan 24, 2022
1 parent 6359ea1 commit 7f888a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions WorkshopToolCommon/Options/UploadVerb.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ public class UploadVerb : PublishVerbBase
[Option('u', "update-only", Default = false, HelpText = "Only update existing mods (don't upload new)")]
public bool UpdateOnly { get; set; }

private bool _compile;
[Option('c', "compile", Required = false, Default = true, SetName = "compile", HelpText = "Compile the mod before uploading; Skip upload if compilation fails")]
private bool _compile = true;
[Option('c', "compile", Required = false, SetName = "compile", HelpText = "Compile the mod before uploading; Skip upload if compilation fails")]
public bool Compile { get => _compile; set => _compile = value; }

[Option('C', "no-compile", Required = false, SetName = "nocompile", HelpText = "Don't compile the mod before uploading")]
Expand Down

0 comments on commit 7f888a1

Please sign in to comment.