cmd/tailscale/cli: fix typo in cert usage

pull/2978/head
Brad Fitzpatrick 3 years ago
parent d7ce2be5f4
commit b10a55e4ed

@ -67,7 +67,7 @@ func runCert(ctx context.Context, args []string) error {
if st.BackendState != ipn.Running.String() { if st.BackendState != ipn.Running.String() {
fmt.Fprintf(&hint, "\nTailscale is not running.\n") fmt.Fprintf(&hint, "\nTailscale is not running.\n")
} else if len(st.CertDomains) == 0 { } else if len(st.CertDomains) == 0 {
fmt.Fprintf(&hint, "\nHTTPS cert support is not enabled/configurfed for your tailnet.\n") fmt.Fprintf(&hint, "\nHTTPS cert support is not enabled/configured for your tailnet.\n")
} else if len(st.CertDomains) == 1 { } else if len(st.CertDomains) == 1 {
fmt.Fprintf(&hint, "\nFor domain, use %q.\n", st.CertDomains[0]) fmt.Fprintf(&hint, "\nFor domain, use %q.\n", st.CertDomains[0])
} else { } else {

Loading…
Cancel
Save