From ba77578b3a25d5a7372e163c21202a66118269ef Mon Sep 17 00:00:00 2001 From: Paul Broadwith Date: Fri, 5 Feb 2021 11:08:44 +0000 Subject: [PATCH] (GH-2190) Add and clarify help for SpecificFolder parameter --- .../helpers/functions/Get-ChocolateyUnzip.ps1 | 3 ++- .../helpers/functions/Install-ChocolateyZipPackage.ps1 | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/chocolatey.resources/helpers/functions/Get-ChocolateyUnzip.ps1 b/src/chocolatey.resources/helpers/functions/Get-ChocolateyUnzip.ps1 index 06763379b2..aedf218041 100644 --- a/src/chocolatey.resources/helpers/functions/Get-ChocolateyUnzip.ps1 +++ b/src/chocolatey.resources/helpers/functions/Get-ChocolateyUnzip.ps1 @@ -68,7 +68,8 @@ This is a directory where you would like the unzipped files to end up. If it does not exist, it will be created. .PARAMETER SpecificFolder -OPTIONAL - This is a specific directory within zip file to extract. +OPTIONAL - This is a specific directory within zip file to extract. The +folder and its contents will be extracted to the destination. .PARAMETER PackageName OPTIONAL - This will faciliate logging unzip activity for subsequent diff --git a/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 b/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 index d6aad516c7..d98e6dafa4 100644 --- a/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 +++ b/src/chocolatey.resources/helpers/functions/Install-ChocolateyZipPackage.ps1 @@ -54,6 +54,10 @@ a 32 bit installation on a 64 bit system. Prefer HTTPS when available. Can be HTTP, FTP, or File URIs. +.PARAMETER SpecificFolder +OPTIONAL - This is a specific directory within zip file to extract. The +folder and its contents will be extracted to the destination. + .PARAMETER Url64bit OPTIONAL - If there is a 64 bit resource available, use this parameter. Chocolatey will automatically determine if the user is