Show help on `uv build -h` (#16632)

This commit is contained in:
Zanie Blue 2025-11-07 09:19:40 -06:00 committed by GitHub
parent 08229ca73b
commit 5e181d36ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ def main():
"Use `uv build` or another build frontend instead.", "Use `uv build` or another build frontend instead.",
file=sys.stderr, file=sys.stderr,
) )
if "--help" in sys.argv: if "--help" in sys.argv or "-h" in sys.argv:
sys.exit(0) sys.exit(0)
else: else:
sys.exit(1) sys.exit(1)