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 <37811973+KevinLiang10@users.noreply.github.com>
This commit is contained in:
KevinLiang10
2025-07-29 13:59:09 -04:00
committed by GitHub
parent b34cdc9710
commit e37432afb7

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