Explorar el Código

cmd/tailscale/cli: update message for disable service (#16705)

This commit update the message for recommanding clear command after running serve for service.
Instead of a flag, we pass the service name as a parameter.

Fixes tailscale/corp#30846

Signed-off-by: KevinLiang10 <[email protected]>
KevinLiang10 hace 7 meses
padre
commit
e37432afb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cmd/tailscale/cli/serve_v2.go

+ 1 - 1
cmd/tailscale/cli/serve_v2.go

@@ -656,7 +656,7 @@ var (
 	msgDisableProxy           = "To disable the proxy, run: tailscale %s --%s=%d off"
 	msgDisableServiceProxy    = "To disable the proxy, run: tailscale serve --service=%s --%s=%d off"
 	msgDisableServiceTun      = "To disable the service in TUN mode, run: tailscale serve --service=%s --tun off"
-	msgDisableService         = "To remove config for the service, run: tailscale serve clear --service=%s"
+	msgDisableService         = "To remove config for the service, run: tailscale serve clear %s"
 	msgToExit                 = "Press Ctrl+C to exit."
 )