You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tb.ginkgo: $(TB_GINKGO)## Download ginkgo locally if necessary.
41
47
$(TB_GINKGO): $(TB_LOCALBIN)
42
48
test -s $(TB_LOCALBIN)/ginkgo || GOBIN=$(TB_LOCALBIN) go install github.com/onsi/ginkgo/v2/ginkgo
49
+
.PHONY: tb.gofumpt
50
+
tb.gofumpt: $(TB_GOFUMPT)## Download gofumpt locally if necessary.
51
+
$(TB_GOFUMPT): $(TB_LOCALBIN)
52
+
test -s $(TB_LOCALBIN)/gofumpt || GOBIN=$(TB_LOCALBIN) go install mvdan.cc/gofumpt@$(TB_GOFUMPT_VERSION)
43
53
.PHONY: tb.golangci-lint
44
54
tb.golangci-lint: $(TB_GOLANGCI_LINT)## Download golangci-lint locally if necessary.
45
55
$(TB_GOLANGCI_LINT): $(TB_LOCALBIN)
46
56
test -s $(TB_LOCALBIN)/golangci-lint || GOBIN=$(TB_LOCALBIN) go install github.com/golangci/golangci-lint/cmd/golangci-lint@$(TB_GOLANGCI_LINT_VERSION)
57
+
.PHONY: tb.golines
58
+
tb.golines: $(TB_GOLINES)## Download golines locally if necessary.
59
+
$(TB_GOLINES): $(TB_LOCALBIN)
60
+
test -s $(TB_LOCALBIN)/golines || GOBIN=$(TB_LOCALBIN) go install github.com/segmentio/golines@$(TB_GOLINES_VERSION)
47
61
.PHONY: tb.goreleaser
48
62
tb.goreleaser: $(TB_GORELEASER)## Download goreleaser locally if necessary.
Copy file name to clipboardexpand all lines: cmd/run.go
+10-5
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,8 @@ func init() {
50
50
doCmd.PersistentFlags().Bool(config.FlagContinueOnError, false, "If enabled, the synchronisation task "+
51
51
"will not fail on single errors, but will log the errors and continue.")
52
52
53
-
doCmd.PersistentFlags().Int(config.FlagApiPort, 8080, "Sync API Port, the API endpoint will be started to enable remote triggering; if 0 port API is disabled.")
53
+
doCmd.PersistentFlags().
54
+
Int(config.FlagApiPort, 8080, "Sync API Port, the API endpoint will be started to enable remote triggering; if 0 port API is disabled.")
54
55
doCmd.PersistentFlags().String(config.FlagApiUsername, "", "Sync API username")
55
56
doCmd.PersistentFlags().String(config.FlagApiPassword, "", "Sync API password")
56
57
doCmd.PersistentFlags().String(config.FlagApiDarkMode, "", "API UI in dark mode")
doCmd.PersistentFlags().Bool(config.FlagReplicaAutoSetup, false, "Enable automatic setup of new AdguardHome instances. This replaces the setup wizard.")
88
-
doCmd.PersistentFlags().String(config.FlagReplicaInterfaceName, "", "Optional change the interface name of the replica if it differs from the master")
90
+
doCmd.PersistentFlags().
91
+
Bool(config.FlagReplicaAutoSetup, false, "Enable automatic setup of new AdguardHome instances. This replaces the setup wizard.")
92
+
doCmd.PersistentFlags().
93
+
String(config.FlagReplicaInterfaceName, "", "Optional change the interface name of the replica if it differs from the master")
0 commit comments