cmd/tailscale/cli: Fix 'tailscale switch' error message (#6585)

Updates #713.

Signed-off-by: Walter Poupore <walterp@tailscale.com>

Signed-off-by: Walter Poupore <walterp@tailscale.com>
pull/6594/head
Walter Poupore 1 year ago committed by GitHub
parent 99aa335923
commit 74b47eaad6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save