mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
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 <cpalmer@tailscale.com>
This commit is contained in:
parent
5812093d31
commit
5deeb56b95
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
var whoisCmd = &ffcli.Command{
|
var whoisCmd = &ffcli.Command{
|
||||||
Name: "whois",
|
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)",
|
ShortHelp: "Show the machine and user associated with a Tailscale IP (v4 or v6)",
|
||||||
LongHelp: strings.TrimSpace(`
|
LongHelp: strings.TrimSpace(`
|
||||||
'tailscale whois' shows the machine and user associated with a Tailscale IP (v4 or v6).
|
'tailscale whois' shows the machine and user associated with a Tailscale IP (v4 or v6).
|
||||||
|
Loading…
Reference in New Issue
Block a user