You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/cmd/tailscale/cli
Brad Fitzpatrick 0406a7436a cmd/tailscale/cli: use double hypens, make default usage func more clear
Mash up some code from ffcli and std's flag package to make a default
usage func that's super explicit for those not familiar with the Go
style flags. Only show double hyphens in usage text (but still accept both),
and show default values, and only show the proper usage of boolean flags.

Fixes #1353
Fixes #1529

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
cli.go cmd/tailscale/cli: use double hypens, make default usage func more clear 3 years ago
debug.go cmd/tailscale/cli: restore hidden debug subcommand 3 years ago
down.go cmd/tailscale, ipn/localapi: use localapi for status, not IPN acrobatics 3 years ago
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 3 years ago
ping.go cmd/tailscale, ipn/localapi: use localapi for status, not IPN acrobatics 3 years ago
status.go cmd/tailscale/cli: use double hypens, make default usage func more clear 3 years ago
up.go cmd/tailscale/cli: use double hypens, make default usage func more clear 3 years ago
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 3 years ago