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:
@@ -656,7 +656,7 @@ var (
|
|||||||
msgDisableProxy = "To disable the proxy, run: tailscale %s --%s=%d off"
|
msgDisableProxy = "To disable the proxy, run: tailscale %s --%s=%d off"
|
||||||
msgDisableServiceProxy = "To disable the proxy, run: tailscale serve --service=%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"
|
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."
|
msgToExit = "Press Ctrl+C to exit."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user