From 9c118d74c403ef7f7ba12362486f19c8e3ebc16e Mon Sep 17 00:00:00 2001 From: ImportTaste <53661808+ImportTaste@users.noreply.github.com> Date: Sat, 25 Mar 2023 13:08:43 -0500 Subject: [PATCH] Add LP to LiteralPath aliases --- .../Microsoft.PowerShell.Archive.psm1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1 b/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1 index e7dd78d..730e949 100644 --- a/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1 +++ b/Microsoft.PowerShell.Archive/Microsoft.PowerShell.Archive.psm1 @@ -52,7 +52,7 @@ function Compress-Archive [parameter (mandatory=$true, ParameterSetName="LiteralPathWithForce", ValueFromPipeline=$false, ValueFromPipelineByPropertyName=$true)] [parameter (mandatory=$true, ParameterSetName="LiteralPathWithUpdate", ValueFromPipeline=$false, ValueFromPipelineByPropertyName=$true)] [ValidateNotNullOrEmpty()] - [Alias("PSPath")] + [Alias("PSPath", "LP")] [string[]] $LiteralPath, [parameter (mandatory=$true, @@ -269,7 +269,7 @@ function Expand-Archive ParameterSetName="LiteralPath", ValueFromPipelineByPropertyName=$true)] [ValidateNotNullOrEmpty()] - [Alias("PSPath")] + [Alias("PSPath", "LP")] [string] $LiteralPath, [parameter (mandatory=$false,