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