mirror of https://github.com/astral-sh/uv
Show help on `uv build -h` (#16632)
This commit is contained in:
parent
08229ca73b
commit
5e181d36ef
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue