[RPC] Set custom port with flags (#2429)

* [RPC] Set custom port with flags

* Add changelog entry
This commit is contained in:
El Laggron
2019-10-22 04:46:56 +02:00
committed by Michael H
parent 3b0fa0c05d
commit ee293876d9
5 changed files with 12 additions and 4 deletions

View File

@@ -117,6 +117,12 @@ def parse_cli_flags(args):
action="store_true",
help="Enables the built-in RPC server. Please read the docs prior to enabling this!",
)
parser.add_argument(
"--rpc-port",
type=int,
default=6133,
help="The port of the built-in RPC server to use. Default to 6133.",
)
parser.add_argument("--token", type=str, help="Run Red with the given token.")
parser.add_argument(
"--no-instance",