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 9972c02b60 cmd/tailscale/cli: don't let up change prefs based on implicit flag values
This changes the behavior of "tailscale up".

Previously "tailscale up" always did a new Start and reset all the settings.

Now "tailscale up" with no flags just brings the world [back] up.
(The opposite of "tailscale down").

But with flags, "tailscale up" now only is allowed to change
preferences if they're explicitly named in the flags. Otherwise it's
an error. Or you need to use --reset to explicitly nuke everything.

RELNOTE=tailscale up change

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
bugreport.go cmd/tailscale, ipn/localapi: add "tailscale bugreport" subcommand 3 years ago
cli.go ipn/{ipnlocal,localapi}, cmd/tailscale: add logout command 3 years ago
cli_test.go cmd/tailscale/cli: don't let up change prefs based on implicit flag values 3 years ago
debug.go ipn/localapi, cmd/tailscale: add API to get prefs, CLI debug command to show 3 years ago
down.go ipn/localapi: move EditPrefs to localapi 3 years ago
ip.go cmd/tailscale: add "tailscale ip [-4] [-6]" command 3 years ago
logout.go ipn/{ipnlocal,localapi}, cmd/tailscale: add logout command 3 years ago
netcheck.go net/portmapper: add NAT-PMP client, move port mapping service probing 3 years ago
ping.go cmd/tailscale/cli: factor out tailscaleIPFromArg from ping command 3 years ago
push.go cmd/tailscale/cli: add debug mode to push slowly for testing 3 years ago
status.go cmd/tailscale/cli: show nicer status output when logged out 3 years ago
up.go cmd/tailscale/cli: don't let up change prefs based on implicit flag values 3 years ago
version.go cmd/tailscale, ipn/localapi: get daemon version from localapi status 3 years ago
web.css cmd/tailscale/cli: split out web.css file 3 years ago
web.go ipn: move Options.Notify to its own method 3 years ago
web.html cmd/tailscale/cli: split out web.css file 3 years ago