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
This commit is contained in:
@@ -9,7 +9,7 @@ USAGE:
|
||||
sf-web-open [-to <ORG_ALIAS_OR_USERNAME>] [-pt <RELATIVE_PATH>] [-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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user