diff --git a/sf-org-info.ps1 b/sf-org-info.ps1 index d8e7dab..bef2d96 100644 --- a/sf-org-info.ps1 +++ b/sf-org-info.ps1 @@ -43,8 +43,8 @@ param( [switch]$hp ) -# Show help if requested -if ($hp) { +# Show help if requested or if no parameters provided +if ($hp -or (-not $to -and -not $limits -and -not $list -and -not $ve)) { Get-Help $MyInvocation.MyCommand.Path -Detailed exit 0 }