From 74b47eaad6b0b730320bb961c18a82b83cac1ead Mon Sep 17 00:00:00 2001 From: Walter Poupore Date: Thu, 1 Dec 2022 08:17:16 -0800 Subject: [PATCH] cmd/tailscale/cli: Fix 'tailscale switch' error message (#6585) Updates #713. Signed-off-by: Walter Poupore Signed-off-by: Walter Poupore --- cmd/tailscale/cli/switch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tailscale/cli/switch.go b/cmd/tailscale/cli/switch.go index fc17adb13..cc45b615e 100644 --- a/cmd/tailscale/cli/switch.go +++ b/cmd/tailscale/cli/switch.go @@ -58,7 +58,7 @@ func switchProfile(ctx context.Context, args []string) error { return listProfiles(ctx) } if len(args) != 1 { - outln("usage: tailscale profile switch NAME") + outln("usage: tailscale switch NAME") os.Exit(1) } cp, all, err := localClient.ProfileStatus(ctx)