From ffc933604e6b730511323bc92806d80a06a7fee8 Mon Sep 17 00:00:00 2001 From: reynold Date: Thu, 28 Aug 2025 23:11:35 +0800 Subject: [PATCH] fix: update sf-web-open help text to recommend target org usage - Changed -to option description to '(recommended)' instead of just documenting it - Replaced example that assumes default org with more practical example - Maintains backwards compatibility while encouraging explicit org specification - Aligns with environment where default org may not be configured --- sf-web-open | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sf-web-open b/sf-web-open index b6d2bbc..6515aa2 100755 --- a/sf-web-open +++ b/sf-web-open @@ -9,7 +9,7 @@ USAGE: sf-web-open [-to ] [-pt ] [-ur] OPTIONS: - -to Org alias or username to pass as --target-org + -to Org alias or username to pass as --target-org (recommended) -pt 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 Show this help @@ -24,8 +24,8 @@ EXAMPLES: 3) Get just the URL for scripting: sf-web-open -to NUSHUB-DR2 -ur - 4) Open the current default org (no -to provided): - sf-web-open + 4) Open org with custom path: + sf-web-open -to MYORG -pt "/lightning/setup/ObjectManager/home" EOF }