From 584ade9f4dd2cd12723c196bae1ffd81504f1a35 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Sun, 20 Mar 2016 09:53:28 -0500 Subject: [PATCH] (GH-412) update parameter name for skip scripts The name of the skip powershell should be skip scripts for future expansion into other automation providers. --- .../infrastructure.app/commands/ChocolateyInstallCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyUninstallCommand.cs | 2 +- .../infrastructure.app/commands/ChocolateyUpgradeCommand.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs index 5c7084b27e..ef82b92050 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyInstallCommand.cs @@ -73,7 +73,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon .Add("x|forcedependencies|force-dependencies", "ForceDependencies - Force dependencies to be reinstalled when force installing package(s). Must be used in conjunction with --force. Defaults to false.", option => configuration.ForceDependencies = option != null) - .Add("n|skippowershell|skip-powershell", + .Add("n|skippowershell|skip-powershell|skipscripts|skip-scripts|skip-automation-scripts", "Skip Powershell - Do not run chocolateyInstall.ps1. Defaults to false.", option => configuration.SkipPackageInstallProvider = option != null) .Add("u=|user=", diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyUninstallCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyUninstallCommand.cs index 925d4618bf..b6012fc31e 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyUninstallCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyUninstallCommand.cs @@ -61,7 +61,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon .Add("x|forcedependencies|force-dependencies|removedependencies|remove-dependencies", "RemoveDependencies - Uninstall dependencies when uninstalling package(s). Defaults to false.", option => configuration.ForceDependencies = option != null) - .Add("n|skippowershell|skip-powershell", + .Add("n|skippowershell|skip-powershell|skipscripts|skip-scripts|skip-automation-scripts", "Skip Powershell - Do not run chocolateyUninstall.ps1. Defaults to false.", option => configuration.SkipPackageInstallProvider = option != null) ; diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs index c0f722d14b..389f2f802a 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyUpgradeCommand.cs @@ -72,7 +72,7 @@ public virtual void configure_argument_parser(OptionSet optionSet, ChocolateyCon .Add("i|ignoredependencies|ignore-dependencies", "IgnoreDependencies - Ignore dependencies when upgrading package(s). Defaults to false.", option => configuration.IgnoreDependencies = option != null) - .Add("n|skippowershell|skip-powershell", + .Add("n|skippowershell|skip-powershell|skipscripts|skip-scripts|skip-automation-scripts", "Skip Powershell - Do not run chocolateyInstall.ps1. Defaults to false.", option => configuration.SkipPackageInstallProvider = option != null) .Add("failonunfound|fail-on-unfound",