diff options
| author | Paul Scott <paul@tailscale.com> | 2024-05-01 16:24:55 +0100 |
|---|---|---|
| committer | Paul Scott <408401+icio@users.noreply.github.com> | 2024-05-01 17:01:03 +0100 |
| commit | 4c0841001176e1b55a5e6880da07440aa961435a (patch) | |
| tree | a451b57426dc12955268d9b52d79d8cc9c2cb978 /control/controlknobs/controlknobs_test.go | |
| parent | ba34943133cadb79ea4e04d9cd02c26a1fe21949 (diff) | |
| download | tailscale-4c0841001176e1b55a5e6880da07440aa961435a.tar.xz tailscale-4c0841001176e1b55a5e6880da07440aa961435a.zip | |
cmd/tailscale/cli: set localClient.UseSocketOnly during flag parsing
This configures localClient correctly during flag parsing, so that the --socket
option is effective when generating tab-completion results. For example, the
following would not connect to the system Tailscale for tab-completion results:
tailscale --socket=/tmp/tailscaled.socket switch <TAB>
Updates #3793
Signed-off-by: Paul Scott <paul@tailscale.com>
Diffstat (limited to 'control/controlknobs/controlknobs_test.go')
0 files changed, 0 insertions, 0 deletions
