]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
doc: fix syntax of refclock directive
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 18 Apr 2019 10:29:44 +0000 (12:29 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 18 Apr 2019 14:27:19 +0000 (16:27 +0200)
When multiple driver options are specified, they need to be separated by
colon, not comma.

doc/chrony.conf.adoc

index 4b1239f4a8a2b153f262fcbf867e7161e3c4dac8..7aa2116e8db5f64588c4346c66821c492623f680 100644 (file)
@@ -374,12 +374,12 @@ for *initstepslew* to finish before exiting. This is useful to prevent programs
 started in the boot sequence after *chronyd* from reading the clock before it
 has been stepped.
 
-[[refclock]]*refclock* _driver_ _parameter_[:__option__,...] [_option_]...::
+[[refclock]]*refclock* _driver_ _parameter_[:__option__]... [_option_]...::
 The *refclock* directive specifies a hardware reference clock to be used as a
 time source. It has two mandatory parameters, a driver name and a
 driver-specific parameter. The two parameters are followed by zero or more
 refclock options. Some drivers have special options, which can be appended to
-the driver-specific parameter (separated by the *:* and *,* characters).
+the driver-specific parameter using the *:* character.
 +
 There are four drivers included in *chronyd*:
 +
@@ -476,7 +476,7 @@ Examples:
 ----
 refclock PHC /dev/ptp0 poll 0 dpoll -2 offset -37
 refclock PHC /dev/ptp1:nocrossts poll 3 pps
-refclock PHC /dev/ptp2:extpps,pin=1 width 0.2 poll 2
+refclock PHC /dev/ptp2:extpps:pin=1 width 0.2 poll 2
 ----
 +
 ::