Skip to content

Commit e2773aa

Browse files
committed
(maint) Change required to true
In order to discard a release, we need to know which one it is, as such, the Milestone option has to be included.
1 parent 553a402 commit e2773aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Source/GitReleaseManager.Cli/Options/DiscardSubOptions.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace GitReleaseManager.Cli.Options
1111
[Verb("discard", HelpText = "Discards a draft release.")]
1212
public class DiscardSubOptions : BaseVcsOptions
1313
{
14-
[Option('m', "milestone", HelpText = "The milestone to use.", Required = false)]
14+
[Option('m', "milestone", HelpText = "The milestone to use.", Required = true)]
1515
public string Milestone { get; set; }
1616
}
17-
}
17+
}

0 commit comments

Comments
 (0)