Setting the args in distributed_switch.py to required
This commit is contained in:
parent
2e77907d72
commit
f919520058
1 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue