Skip to content

Commit

Permalink
(chocolateyGH-1804) Added pre parameter to outdated
Browse files Browse the repository at this point in the history
With the pre command added to the outdated command, you are able to
list outdated packages that have a pre-release available. As all the
code was already available, only the parameter was added to this
command.
  • Loading branch information
mkevenaar committed May 26, 2019
1 parent ddc77a5 commit 3d1ed24
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon
.Add("cp=|certpassword=",
"Certificate Password - the client certificate's password to the source. Defaults to empty. Available in 0.9.10+.",
option => configuration.SourceCommand.CertificatePassword = option.remove_surrounding_quotes())
.Add("pre|prerelease",
"Prerelease - Include Prereleases? Defaults to false. Available in 0.10.14+.",
option => configuration.Prerelease = option != null)
.Add("ignore-pinned",
"Ignore Pinned - Ignore pinned packages. Defaults to false. Available in 0.10.6+.",
option => configuration.OutdatedCommand.IgnorePinned = option != null)
Expand Down

0 comments on commit 3d1ed24

Please sign in to comment.