We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40503ef commit bef6e28Copy full SHA for bef6e28
cmd/tailscale/cli/cli.go
@@ -129,6 +129,8 @@ var localClient tailscale.LocalClient
129
130
// Run runs the CLI. The args do not include the binary name.
131
func Run(args []string) (err error) {
132
+ args = CleanUpArgs(args)
133
+
134
if len(args) == 1 && (args[0] == "-V" || args[0] == "--version") {
135
args = []string{"version"}
136
}
cmd/tailscale/tailscale.go
@@ -17,7 +17,6 @@ import (
17
18
func main() {
19
args := os.Args[1:]
20
- args = cli.CleanUpArgs(args)
21
if name, _ := os.Executable(); strings.HasSuffix(filepath.Base(name), ".cgi") {
22
args = []string{"web", "-cgi"}
23
0 commit comments