tailscale/cmd
Brad Fitzpatrick adc97e9c4d cmd/tailscale: make --accept-routes default true on Windows, macOS GUI
One of the most annoying parts of using the Tailscale CLI on Windows
and the macOS GUI is that Tailscale's GUIs default to running with
"Route All" (accept all non-exitnode subnet routes) but the CLI--being
originally for Linux--uses the Linux default, which is to not accept
subnets.

Which means if a Windows user does, e.g.:

    tailscale up --advertise-exit-node
Or:
    tailscale up --shields-up

... then it'd warn about reverting the --accept-routes option, which the user
never explicitly used.

Instead, make the CLI's default match the platform/GUI's default.

Change-Id: I15c804b3d9b0266e9ca8651e0c09da0f96c9ef8d
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2021-12-13 10:33:20 -08:00
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/cloner: mangle "go:generate" in cloner.go 2021-10-16 17:53:43 -07:00
derper cmd/derper: allow http port configuration 2021-12-08 08:58:30 -08:00
derpprobe derp: use new node key type. 2021-10-28 16:02:11 -07:00
hello all: adapt to opaque netaddr types 2021-05-16 14:52:00 -07:00
mkpkg cmd/mkpkg: allow zero files in a package. 2021-06-07 16:22:23 -07:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale cmd/tailscale: make --accept-routes default true on Windows, macOS GUI 2021-12-13 10:33:20 -08:00
tailscaled net/dnscache, net/tsdial: add DNS caching to tsdial UserDial 2021-12-09 11:34:21 -08:00
testcontrol cmd/testcontrol: add test control server 2021-08-19 17:50:48 -07:00
tsshd tsshd: fix double exit with different exit codes 2021-11-23 09:19:59 -08:00