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
Sonia Appasamy f824274093 cli/serve: shorten help text on error
Our BETA serve help text is long and often hides the actual error
in the user's usage. Instead of printing the full text, prompt
users to use `serve --help` if they want the help info.

Fixes #14274

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
2 years ago
..
bugreport.go all: update copyright and license headers 3 years ago
cert.go all: update copyright and license headers 3 years ago
cli.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2 years ago
cli_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
configure-kube.go all: use Go 1.21 slices, maps instead of x/exp/{slices,maps} 2 years ago
configure-kube_test.go cmd/tailscale/cli: add "configure kubeconfig" subcommand 3 years ago
configure-synology.go all: replace /kb/ links with /s/ equivalents 3 years ago
configure.go cmd/tailscale/cli: update docs and unhide configure 3 years ago
debug.go cmd/tailscale, net/portmapper: add --log-http option to "debug portmap" 2 years ago
diag.go various: add detection and Taildrop for Unraid 3 years ago
diag_other.go all: update copyright and license headers 3 years ago
down.go all: update copyright and license headers 3 years ago
exitnode.go all: import x/exp/maps as xmaps to distinguish from Go 1.21 "maps" 2 years ago
exitnode_test.go cli: introduce exit-node subcommand to list and filter exit nodes 2 years ago
file.go all: update to Go 1.20, use strings.CutPrefix/Suffix instead of our fork 3 years ago
funnel.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2 years ago
id-token.go all: update copyright and license headers 3 years ago
ip.go all: update copyright and license headers 3 years ago
licenses.go cmd/tailscale: refactor shared utility methods 2 years ago
login.go all: update copyright and license headers 3 years ago
logout.go all: update copyright and license headers 3 years ago
nc.go all: update copyright and license headers 3 years ago
netcheck.go cmd/tailscale/cli: make netcheck run even if machine lacks TLS certs 2 years ago
network-lock.go all: implement lock revoke-keys command 2 years ago
ping.go wgengine,ipn,cmd/tailscale: add size option to ping (#8739) 2 years ago
risks.go util/testenv: add new package to hold InTest 2 years ago
serve.go cli/serve: shorten help text on error 2 years ago
serve_dev.go cmd/tailscale: combine serve and funnel for debug wip funnel stream model (#9169) 2 years ago
serve_test.go cli/serve: shorten help text on error 2 years ago
set.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
set_test.go all: update copyright and license headers 3 years ago
ssh.go all: update copyright and license headers 3 years ago
ssh_exec.go all: update copyright and license headers 3 years ago
ssh_exec_js.go all: update copyright and license headers 3 years ago
ssh_exec_windows.go all: update copyright and license headers 3 years ago
ssh_unix.go types/logger, cmd/tailscale/cli: flesh out, simplify some non-unix build tags 2 years ago
status.go ipn/ipnstate: add PeerStatus.AltSharerUserID, stop mangling Node.User 2 years ago
switch.go all: update copyright and license headers 3 years ago
up.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2 years ago
update.go ipn/ipnlocal: support most Linuxes in handleC2NUpdate (#9114) 2 years ago
version.go cmd/tailscale/cli,clientupdate: extract new clientupdate package (#8827) 2 years ago
web.go client/web,cmd/tailscale: add prefix flag for web command 2 years ago
web_test.go client/web: extract web client from cli package 2 years ago