[2.x] fix: Update ++ help text to reflect SemanticSelector matching (#8995)

The first paragraph of `help ++` still said "binary compatible" from
before PR #6946 changed the behavior to use SemanticSelector pattern
matching. Update it to match the already-correct second paragraph.

Fixes #6988

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
BrianHotopp 2026-03-31 01:50:45 -04:00 committed by GitHub
parent 77e4b3c745
commit 5697f074c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -362,10 +362,10 @@ defaults
s"""$SwitchCommand <scala-version>[!] [-v] [<command>] s"""$SwitchCommand <scala-version>[!] [-v] [<command>]
Changes the Scala version and runs a command. Changes the Scala version and runs a command.
Sets the `scalaVersion` of all projects that define a Scala cross version that is binary <scala-version> may be an actual Scala version such as 3.1.3, or a Semantic Version selector
compatible with <scala-version> and reloads the build. If ! is supplied, then the pattern such as 2.13.x. Only subprojects whose crossScalaVersions match the version pattern
version is forced on all projects regardless of whether they are binary compatible or have their Scala version switched. If ! is supplied, then all projects have
not. their Scala version switched.
If -v is supplied, verbose logging of the Scala version switching is done. If -v is supplied, verbose logging of the Scala version switching is done.