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
Copy file name to clipboardExpand all lines: opflags/opflags.go
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -24,10 +24,10 @@ type OpFlags struct {
24
24
FilterNodesCIDRs []string`long:"filter-nodes-cidrs" description:"List of CIDRs on which Magnetico can operate. Empty is open mode." default:"" yaml:"filterNodesCIDRs"`
25
25
FilterNodesIpNets []net.IPNet
26
26
27
-
Addrstring`short:"a" long:"addr" description:"Address (host:port) to serve on" default:"[::1]:8080" yaml:"addr"`
28
-
Credstring`short:"c" long:"credentials" description:"Path to the credentials file" default:"" yaml:"cred"`
29
-
Credentialsmap[string][]byte
30
-
Timeoutuint`short:"t" long:"timeout" description:"Timeout in seconds for the web interface and APIs." default:"600" yaml:"timeout"`
27
+
Addrstring`short:"a" long:"addr" description:"Address (host:port) to serve on" default:"[::1]:8080" yaml:"addr"`
28
+
CredentialsPathstring`short:"c" long:"credentials" description:"Path to the credentials file" default:"" yaml:"cred"`
29
+
Credentialsmap[string][]byte
30
+
Timeoutuint`short:"t" long:"timeout" description:"Timeout in seconds for the web interface and APIs." default:"600" yaml:"timeout"`
31
31
32
32
RunDaemonbool`short:"d" long:"daemon" description:"Run the crawler without the web interface." yaml:"runDaemon"`
33
33
RunWebbool`short:"w" long:"web" description:"Run the web interface without the crawler." yaml:"runWeb"`
0 commit comments