fix 'wormhole server restart'

It got broken when I added --no-daemon to 'server start'.
This commit is contained in:
Brian Warner 2015-11-11 17:30:15 -08:00
parent ec51adb713
commit 9ead3f48a8

View File

@ -61,6 +61,7 @@ sp_restart.add_argument("--transit", default="tcp:3001", metavar="tcp:PORT",
help="endpoint specification for the transit-relay port") help="endpoint specification for the transit-relay port")
sp_restart.add_argument("--advertise-version", metavar="VERSION", sp_restart.add_argument("--advertise-version", metavar="VERSION",
help="version to recommend to clients") help="version to recommend to clients")
sp_restart.add_argument("-n", "--no-daemon", action="store_true")
sp_restart.set_defaults(func=cmd_server.restart_server) sp_restart.set_defaults(func=cmd_server.restart_server)
# CLI: send # CLI: send