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: main.go
+5-5
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ func main() {
42
42
PanelToSystemMessages=flag.Bool("panelToSystemMessages", false, "If set, you will see panel to system messages written to the console")
43
43
writeTopologiesToFiles=flag.Bool("writeTopologiesToFiles", false, "If set, the JSON, SVG and rendered full SVG icon is written to files in the working directory.")
44
44
AggressiveQuery=flag.Bool("aggressive", false, "If set, will connect to panels, query various info and disconnect.")
45
-
WebServerPort:=*flag.Int("wsport", 8051, "Web server port")
45
+
WebServerPort:=flag.Int("wsport", 8051, "Web server port")
46
46
dontOpenBrowser:=flag.Bool("dontOpenBrowser", false, "If set, a web browser won't open automatically")
47
47
Dark=flag.Bool("dark", false, "If set, will render web UI in dark mode")
48
48
RecordTriggers=flag.String("recordTriggers", "", "If set, will record triggers to the filename given as value")
@@ -52,15 +52,15 @@ func main() {
52
52
arguments:=flag.Args()
53
53
54
54
// Start webserver:
55
-
ifWebServerPort>0 {
56
-
log.Infof("Starting webserver on localhost:%d\n", WebServerPort)
55
+
if*WebServerPort>0 {
56
+
log.Infof("Starting webserver on localhost:%d\n", *WebServerPort)
0 commit comments