Skip to content

Commit

Permalink
(chocolateyGH-14) Uninstall adds source
Browse files Browse the repository at this point in the history
When uninstalling from the special sources, those should be able to be
specified.
  • Loading branch information
ferventcoder committed Jun 4, 2015
1 parent 6017299 commit b02e414
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ public ChocolateyUninstallCommand(IChocolateyPackageService packageService)
public void configure_argument_parser(OptionSet optionSet, ChocolateyConfiguration configuration)
{
optionSet
.Add("s=|source=",
"Source - The source to find the package(s) to install. Special sources include: ruby, webpi, cygwin, windowsfeatures, and python. Defaults to default feeds.",
option => configuration.Sources = option)
.Add("version=",
"Version - A specific version to uninstall. Defaults to unspecified.",
option => configuration.Version = option.remove_surrounding_quotes())
Expand Down

0 comments on commit b02e414

Please sign in to comment.