@forge/cli-shared

9.7.0-next.179.7.0-next.18
out/ui/text.js
~out/ui/text.jsModified
+1
Index: package/out/ui/text.js
===================================================================
--- package/out/ui/text.js
+++ package/out/ui/text.js
@@ -1235,8 +1235,9 @@
                 noInstallationId: 'The installation completed but no installation id was returned, so optional connections cannot be linked.',
                 nonInteractiveOrgRequired: 'You have access to multiple organizations. Pass --unitId <id> to install directly.',
                 nonInteractiveUnitRequired: 'The organization has multiple units. Pass --unitId <id> to install directly.',
                 connectFlagsRequired: 'Pass both --product and --site to link a connection non-interactively.',
+                connectRequiresUnit: 'Connecting a global app requires --unitId <id>, --product, and --site together. Pass all three, or run install without them to choose a unit interactively.',
                 unsupportedConnection: (product) => `"${product}" is not a linkable Atlassian app. Choose one of: Jira, Confluence, Bitbucket.`,
                 notInstalledInUnit: (unitId) => `The app is not installed in unit ${unitId}. Install it into the unit first (${forge('install', '--unitId', unitId)}), then link a connection.`
             }
         }