fix(HEL-560): verify tools provide a non-mutating --help path
Co-authored-by: multica-agent <github@multica.ai>
This commit is contained in:
@@ -150,6 +150,9 @@ def start_hub(workdir: Path, port: int, review_port: int) -> None:
|
||||
|
||||
|
||||
def main() -> int:
|
||||
if any(argument in {"-h", "--help"} for argument in sys.argv[1:]):
|
||||
print(__doc__.strip())
|
||||
return 0
|
||||
workdir = Path(tempfile.mkdtemp(prefix="hel560-smoke-"))
|
||||
review_port, hub_port = free_port(), free_port()
|
||||
review = f"http://127.0.0.1:{review_port}"
|
||||
|
||||
Reference in New Issue
Block a user