From 5dddeddffd2ec3da72c08e956ec403a0f457dccf Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 27 May 2016 18:26:40 -0700 Subject: [PATCH] fix "wormhole-server restart" default ports to match plain "start" now that was confusing. --- src/wormhole/server/cli_args.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wormhole/server/cli_args.py b/src/wormhole/server/cli_args.py index e4b4c06..bf95565 100644 --- a/src/wormhole/server/cli_args.py +++ b/src/wormhole/server/cli_args.py @@ -43,9 +43,9 @@ sp_stop.set_defaults(func="server/stop") sp_restart = s.add_parser("restart", description="Restart the relay server", usage="wormhole server restart") -sp_restart.add_argument("--rendezvous", default="tcp:3000", metavar="tcp:PORT", +sp_restart.add_argument("--rendezvous", default="tcp:4000", metavar="tcp:PORT", help="endpoint specification for the rendezvous port") -sp_restart.add_argument("--transit", default="tcp:3001", metavar="tcp:PORT", +sp_restart.add_argument("--transit", default="tcp:4001", metavar="tcp:PORT", help="endpoint specification for the transit-relay port") sp_restart.add_argument("--advertise-version", metavar="VERSION", help="version to recommend to clients")