1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
  | 
diff --git a/cmd/ugitd/args.go b/cmd/ugitd/args.go
index b16fc0f40628e9b990ce045c15e1ab37584fa469..eda11a02b5210d1a38cf672ae870d40b5bd1f1e2 100644
--- a/cmd/ugitd/args.go
+++ b/cmd/ugitd/args.go
@@ -11,13 +11,13 @@ 	"github.com/peterbourgon/ff/v3/ffyaml"
 )
 
 type cliArgs struct {
-	RepoDir   string
-	SSH       sshArgs
-	HTTP      httpArgs
-	Meta      metaArgs
-	Profile   profileArgs
-	Log       logArgs
-	Tailscale tailscaleArgs
+	RepoDir     string
+	SSH         sshArgs
+	HTTP        httpArgs
+	Meta        metaArgs
+	Profile     profileArgs
+	Log         logArgs
+	ShowPrivate bool
 }
 
 type sshArgs struct {
@@ -55,12 +55,6 @@ 	Level log.Level
 	JSON  bool
 }
 
-type tailscaleArgs struct {
-	Enable   bool
-	Hostname string
-	DataDir  string
-}
-
 func parseArgs(args []string) (c cliArgs, e error) {
 	fs := flag.NewFlagSet("ugitd", flag.ContinueOnError)
 	fs.String("config", "ugit.yaml", "Path to config file")
@@ -86,11 +80,6 @@ 		},
 		Log: logArgs{
 			Level: log.InfoLevel,
 		},
-		Tailscale: tailscaleArgs{
-			Enable:   false,
-			Hostname: "ugit",
-			DataDir:  ".tsnet",
-		},
 	}
 
 	fs.Func("log.level", "Logging level", func(s string) error {
@@ -126,9 +115,6 @@ 			URL:  parts[1],
 		})
 		return nil
 	})
-	fs.BoolVar(&c.Tailscale.Enable, "tailscale.enable", c.Tailscale.Enable, "Enable Tailscale")
-	fs.StringVar(&c.Tailscale.Hostname, "tailscale.hostname", c.Tailscale.Hostname, "Tailscale host to show private repos on")
-	fs.StringVar(&c.Tailscale.DataDir, "tailscale.data-dir", c.Tailscale.DataDir, "Tailscale data/state directory")
 
 	return c, ff.Parse(fs, args,
 		ff.WithEnvVarPrefix("UGIT"),
  |