From 4e966536c6253d73e1a3202e8b562ab0f518e33b Mon Sep 17 00:00:00 2001 From: Richard Cochran Date: Tue, 13 Dec 2016 20:49:22 +0100 Subject: [PATCH] ptp4l: Document the "long" command line options in the man page. Signed-off-by: Richard Cochran --- ptp4l.8 | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/ptp4l.8 b/ptp4l.8 index 63e9abd..f53fc6e 100644 --- a/ptp4l.8 +++ b/ptp4l.8 @@ -1,4 +1,4 @@ -.TH PTP4l 8 "July 2016" "linuxptp" +.TH PTP4l 8 "December 2016" "linuxptp" .SH NAME ptp4l - PTP Boundary/Ordinary Clock @@ -15,6 +15,8 @@ ptp4l - PTP Boundary/Ordinary Clock ] [ .BI \-i " interface" +] [ +.I long-options ] .I .\|.\|. @@ -94,6 +96,19 @@ Prints the software version and exits. .BI \-h Display a help message. +.SH LONG OPTIONS + +Each and every configuration file option (see below) may also appear +as a "long" style command line argument. For example, the slaveOnly +option may be set using either of these two forms. + +.RS +\f(CW\-\-slaveOnly 1 \-\-slaveOnly=1\fP +.RE + +Option values given on the command line override values in the global +section of the configuration file. + .SH CONFIGURATION FILE The configuration file is divided into sections. Each section starts with a