diff --git a/modules/cli/src/main/scala/scala/cli/commands/package0/PackageOptions.scala b/modules/cli/src/main/scala/scala/cli/commands/package0/PackageOptions.scala index 4bcae6397d..917579ae11 100644 --- a/modules/cli/src/main/scala/scala/cli/commands/package0/PackageOptions.scala +++ b/modules/cli/src/main/scala/scala/cli/commands/package0/PackageOptions.scala @@ -48,6 +48,8 @@ final case class PackageOptions( library: Boolean = false, @Group(HelpGroup.Package.toString) @HelpMessage("Generate a source JAR rather than an executable JAR") + @Name("sourcesJar") + @Name("jarSources") @Name("sources") @Name("source") @Tag(tags.deprecated("source")) // alias to be removed in 1.6.x diff --git a/website/docs/reference/cli-options.md b/website/docs/reference/cli-options.md index 83bb1ed3ea..117fa1a420 100644 --- a/website/docs/reference/cli-options.md +++ b/website/docs/reference/cli-options.md @@ -751,7 +751,7 @@ Generate a library JAR rather than an executable JAR ### `--src` -Aliases: [deprecated] `--source`, `--sources` +Aliases: `--jar-sources`, [deprecated] `--source`, `--sources`, `--sources-jar` Generate a source JAR rather than an executable JAR