cmd/tailscale/cli: update message for disable service

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 <37811973+KevinLiang10@users.noreply.github.com>
This commit is contained in:
KevinLiang10 2025-07-28 16:16:30 -04:00
parent 2a5d9c7269
commit 41e80a466b

View File

@ -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."
)