From 5deeb56b952670d843b21ba10cf0908ba1fefb4a Mon Sep 17 00:00:00 2001 From: Chris Palmer Date: Tue, 2 Jan 2024 17:43:08 -0800 Subject: [PATCH] cmd/tailscale/cli: document usage more clearly (#10681) The IP argument is required; only the port is optional. Updates #10605 Signed-off-by: Chris Palmer --- cmd/tailscale/cli/whois.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/tailscale/cli/whois.go b/cmd/tailscale/cli/whois.go index 6c3c69da7..3a3a9eda6 100644 --- a/cmd/tailscale/cli/whois.go +++ b/cmd/tailscale/cli/whois.go @@ -18,7 +18,7 @@ var whoisCmd = &ffcli.Command{ Name: "whois", - ShortUsage: "whois [--json] [ip|ip:port]", + ShortUsage: "whois [--json] ip[:port]", ShortHelp: "Show the machine and user associated with a Tailscale IP (v4 or v6)", LongHelp: strings.TrimSpace(` 'tailscale whois' shows the machine and user associated with a Tailscale IP (v4 or v6).