Skip to content

Commit

Permalink
Add --jar-sources and --sources-jar as aliases for --src
Browse files Browse the repository at this point in the history
  • Loading branch information
Gedochao committed Nov 5, 2024
1 parent 62b4b29 commit 404763c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion website/docs/reference/cli-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 404763c

Please sign in to comment.