mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-20 05:31:40 +00:00
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)
|
return listProfiles(ctx)
|
||||||
}
|
}
|
||||||
if len(args) != 1 {
|
if len(args) != 1 {
|
||||||
outln("usage: tailscale profile switch NAME")
|
outln("usage: tailscale switch NAME")
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
cp, all, err := localClient.ProfileStatus(ctx)
|
cp, all, err := localClient.ProfileStatus(ctx)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user