Skip to content

Commit

Permalink
(posh) add aliases for filetype/url64bit
Browse files Browse the repository at this point in the history
  • Loading branch information
ferventcoder committed Jun 5, 2015
1 parent 3c8ea92 commit 9e88c0a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Install-ChocolateyPackage
#>
param(
[string] $packageName,
[string] $fileType = 'exe',
[alias("installerType")][string] $fileType = 'exe',
[string] $silentArgs = '',
[string] $file,
$validExitCodes = @(0)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ Install-ChocolateyInstallPackage
#>
param(
[string] $packageName,
[string] $fileType = 'exe',
[alias("installerType")][string] $fileType = 'exe',
[string] $silentArgs = '',
[string] $url,
[string] $url64bit = '',
[alias("url64")][string] $url64bit = '',
$validExitCodes = @(0),
[string] $checksum = '',
[string] $checksumType = '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ param(
[string] $packageName,
[string] $psFileFullPath,
[string] $url ='',
[string] $url64bit = '',
[alias("url64")][string] $url64bit = '',
[string] $checksum = '',
[string] $checksumType = '',
[string] $checksum64 = '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ param(
[string] $packageName,
[string] $url,
[string] $unzipLocation,
[string] $url64bit = '',
[alias("url64")][string] $url64bit = '',
[string] $specificFolder ="",
[string] $checksum = '',
[string] $checksumType = '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Uninstall-ChocolateyPackage
#>
param(
[string] $packageName,
[string] $fileType = 'exe',
[alias("installerType")][string] $fileType = 'exe',
[string] $silentArgs = '',
[string] $file,
$validExitCodes = @(0)
Expand Down

0 comments on commit 9e88c0a

Please sign in to comment.