Skip to content

Commit 1a63540

Browse files
committed
Make --fallback-image required
1 parent 1546726 commit 1a63540

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vinx_mjpeg_server.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ async def main():
2121
"--bootstrap-node", required=True, help="A VINX encoder to use as bootstrap node for auto-discovery"
2222
)
2323
parser.add_argument(
24-
"--fallback-image", help="A JPEG image to use as fallback when the encoder preview is unavailable"
24+
"--fallback-image",
25+
required=True,
26+
help="A JPEG image to use as fallback when the encoder preview is unavailable",
2527
)
2628
parser.add_argument(
2729
"-l", "--listen-address", default="0.0.0.0", help="The address the HTTP server should listen on"

0 commit comments

Comments
 (0)