Setting the args in distributed_switch.py to required

This commit is contained in:
Kevin 2021-01-05 15:28:50 -08:00
parent 2e77907d72
commit f919520058

View file

@ -74,10 +74,14 @@ if __name__ == "__main__":
parser.add_argument(
"-a",
"--address",
required=True,
help="local address that distributed servers will use for gre tunneling",
)
parser.add_argument(
"-s", "--server", help="distributed server to use for creating nodes"
"-s",
"--server",
required=True,
help="distributed server to use for creating nodes",
)
args = parser.parse_args()
main(args)