docs: --sync works even when widget's target = []

This commit is contained in:
jean-emmanuel 2016-11-04 14:46:33 +01:00
parent 38ee781a9b
commit ff8d66f72c
2 changed files with 2 additions and 1 deletions

View file

@ -8,7 +8,7 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http
```
Options:
-s, --sync synchronized hosts (ip:port pairs)
-s, --sync synchronized hosts (ip:port pairs) (osc messages sent by widgets will be also send to these targets)
-l, --load session file to load
-c, --custom-module custom module file to load
-p, --port http port of the server (default to 8080)

View file

@ -84,6 +84,7 @@ A widget object is a javascript object. All widgets share a set of generic prope
- this defines the targets of the widget's osc messages
- each element of the `array` must be a string formatted as follows : `"ip:port"`
- multiple targets can be specified : `["ip1:port1","ip2:port2"]`
- if no target is set, messages can still be sent if the server has synchronized hosts (`-s / --sync`)
#### `address`
- type: `string`