Skip to content

Commit

Permalink
Make --port an option
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Oct 30, 2023
1 parent cda0b9c commit 73208fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extra_data/cli/serve_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ def main(argv=None):
ap = ArgumentParser(prog="karabo-bridge-serve-run")
ap.add_argument("proposal", help="Proposal number")
ap.add_argument("run", help="Run number")
ap.add_argument("port", help="TCP port or ZMQ endpoint to send data on")
ap.add_argument(

Check warning on line 17 in extra_data/cli/serve_run.py

View check run for this annotation

Codecov / codecov/patch

extra_data/cli/serve_run.py#L13-L17

Added lines #L13 - L17 were not covered by tests
"--port", default="0", help="TCP port or ZMQ endpoint to send data on. "
"Selects a random TCP port by default.")
ap.add_argument(

Check warning on line 20 in extra_data/cli/serve_run.py

View check run for this annotation

Codecov / codecov/patch

extra_data/cli/serve_run.py#L20

Added line #L20 was not covered by tests
"--include", help="Select matching sources (and optionally keys) to "
"include in streamed data",
Expand Down

0 comments on commit 73208fc

Please sign in to comment.