Skip to content

Commit d43905b

Browse files
authored
syncthing/DaemonProcess.swift: Use single-dash syncthing v2.x.x commandline args (#249)
1 parent 4c04490 commit d43905b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syncthing/DaemonProcess.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ let MaxKeepLogLines = 200
6464

6565
let p = Process()
6666
p.environment = environment
67-
p.arguments = ["-no-browser", "-no-restart", "-logfile=default"]
67+
p.arguments = ["--no-browser", "--no-restart", "--logfile=default"]
6868
p.arguments?.append(contentsOf: self.arguments)
6969
p.launchPath = path
7070
p.standardInput = Pipe() // isolate daemon from our stdin

0 commit comments

Comments
 (0)