Skip to content

Commit

Permalink
(chocolateyGH-293) Upgrade all except additional documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Rondeau committed Jul 2, 2015
1 parent 6a194ca commit b47dd09
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon
"Password - the user's password to the source. Defaults to empty.",
option => configuration.SourceCommand.Password = option.remove_surrounding_quotes())
.Add("except=",
"Except - a comma-separated list of package names that should not be upgraded. Defaults to empty.",
"Except - a comma-separated list of package names that should not be upgraded when upgrading 'all'. Defaults to empty.",
option => configuration.UpgradeCommand.PackageNamesToSkip = option.remove_surrounding_quotes())
;
}
Expand Down Expand Up @@ -131,6 +131,8 @@ choco upgrade notepadplusplus googlechrome atom 7zip -dvfy
choco upgrade nodejs.install --version 0.10.35
choco upgrade git -s ""https://somewhere/out/there""
choco upgrade git -s ""https://somewhere/protected"" -u user -p pass
choco upgrade all
choco upgrade all --except=""skype,conemu""
");

"chocolatey".Log().Info(ChocolateyLoggers.Important, "Options and Switches");
Expand Down

0 comments on commit b47dd09

Please sign in to comment.