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>
This commit is contained in:
parent
99aa335923
commit
74b47eaad6
|
@ -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…
Reference in New Issue