From 8232e55551f506398c0aa80346b843006628a423 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 17 Jul 2020 23:41:08 -0600 Subject: [PATCH] relay-url => tunnel-relay-url --- cmd/telebit/telebit.go | 2 +- examples/run-as-client.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/telebit/telebit.go b/cmd/telebit/telebit.go index e41d0ae..0cd6b00 100644 --- a/cmd/telebit/telebit.go +++ b/cmd/telebit/telebit.go @@ -77,7 +77,7 @@ func main() { enableTLSALPN01 := flag.Bool("acme-tls-alpn-01", false, "enable TLS-ALPN-01 ACME challenges") acmeRelay := flag.String("acme-relay-url", "", "the base url of the ACME DNS-01 relay, if not the same as the tunnel relay") authURL := flag.String("auth-url", "", "the base url for authentication, if not the same as the tunnel relay") - relay := flag.String("relay-url", "", "the websocket url at which to connect to the tunnel relay") + relay := flag.String("tunnel-relay-url", "", "the websocket url at which to connect to the tunnel relay") apiHostname := flag.String("api-hostname", "", "the hostname used to manage clients") secret := flag.String("secret", "", "the same secret used by telebit-relay (used for JWT authentication)") token := flag.String("token", "", "a pre-generated token to give the server (instead of generating one with --secret)") diff --git a/examples/run-as-client.sh b/examples/run-as-client.sh index c8ca700..7943d81 100644 --- a/examples/run-as-client.sh +++ b/examples/run-as-client.sh @@ -41,7 +41,7 @@ VERBOSE_RAW=${VERBOSE_RAW:-} --auth-url $AUTH_URL \ --app-id "$APP_ID" \ --secret "$CLIENT_SECRET" \ - --relay-url $TUNNEL_RELAY_URL \ + --tunnel-relay-url $TUNNEL_RELAY_URL \ --listen "$LISTEN" \ --locals "$LOCALS" \ --acme-agree=${ACME_AGREE} \