From 469ab89d41e2637cba5e8f1835cbff072291f476 Mon Sep 17 00:00:00 2001 From: reynold Date: Thu, 28 Aug 2025 23:14:40 +0800 Subject: [PATCH] docs: align sf-web-open.ps1 help with bash script - Marked -to as (recommended) - Replaced default-org example with explicit org + custom path example - Keeps examples consistent across Bash and PowerShell and with environments without a default org --- sf-web-open.ps1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sf-web-open.ps1 b/sf-web-open.ps1 index e5b93ea..b28aac2 100644 --- a/sf-web-open.ps1 +++ b/sf-web-open.ps1 @@ -14,7 +14,7 @@ USAGE: sf-web-open.ps1 -hp OPTIONS: - -to Target org alias or username to pass as --target-org + -to Target org alias or username to pass as --target-org (recommended) -pt Path - relative path to open inside the org (e.g., "/lightning/setup/SetupOneHome/home") -ur URL-only: print the URL instead of opening a browser (passes --url-only) -hp Help - show this help @@ -29,8 +29,8 @@ EXAMPLES: 3) Get just the URL for scripting: sf-web-open.ps1 -to "NUSHUB-DR2" -ur - 4) Open the current default org (no -to provided): - sf-web-open.ps1 + 4) Open org with custom path: + sf-web-open.ps1 -to "MYORG" -pt "/lightning/setup/ObjectManager/home" "@ }