Skip to content

Fix hatchling build --target help string to reflect actual behavior#2226

Open
aus wants to merge 2 commits intopypa:masterfrom
aus:fix/build-target-help-string
Open

Fix hatchling build --target help string to reflect actual behavior#2226
aus wants to merge 2 commits intopypa:masterfrom
aus:fix/build-target-help-string

Conversation

@aus
Copy link
Copy Markdown

@aus aus commented Mar 31, 2026

The help text for hatchling build --target incorrectly states "Comma-separated list of targets to build" but the argument uses action='append', requiring multiple -t flags instead.

Updated to match the existing hatch CLI help text which already correctly documents this behavior.

Fixes #1550

The help text for `hatchling build --target` incorrectly stated
"Comma-separated list of targets to build" but the argument uses
`action='append'`, requiring multiple `-t` flags instead.

Updated to match the hatch CLI's help text.

Closes pypa#1550
@aus aus marked this pull request as ready for review March 31, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

build --target argument documentation does not reflect behavior

2 participants