From b47dd09c2468f496f9bdec319a864d3173339fdc Mon Sep 17 00:00:00 2001 From: Christian Rondeau Date: Thu, 2 Jul 2015 16:17:48 -0400 Subject: [PATCH] (GH-293) Upgrade all except additional documentation --- .../infrastructure.app/commands/ChocolateyUpgradeCommand.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs index d6f12ee229..b8b6674142 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs @@ -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()) ; } @@ -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");