]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Fix nits in the ntpq man page
authorHarlan Stenn <stenn@ntp.org>
Sun, 20 Jul 2014 09:34:20 +0000 (09:34 +0000)
committerHarlan Stenn <stenn@ntp.org>
Sun, 20 Jul 2014 09:34:20 +0000 (09:34 +0000)
bk: 53cb8d1c9EgfONQodC7V9VzoZEVrbw

ChangeLog
ntpq/ntpq-opts.def

index a2c9341ed866af4dbb090f1bc7bad520408f7cf2..2af1ec4ba5b204ba52a00801ccb8189fa8dc9000 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,4 @@
-* Fix  a nit in the ntpq man page.
+* Fix nits in the ntpq man page.
 * autogen-5.18.4pre9
 (4.2.7p453) 2014/07/19 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 2597] leap file loose ends (follow-up)
index 16046c787389c4c900610b5379f1a32fbdeb9e62..ca72458a67f076f8d10d25b7fcc69ee68d352a5a 100644 (file)
@@ -328,9 +328,6 @@ There appear
 to be no servers left which demand version 1.
 With no argument, displays the current NTP version that will be used
 when communicating with servers.
-.It Ic quit
-Exit
-.Nm
 .It Ic passwd
 This command prompts you to type in a password (which will not
 be echoed) which will be used to authenticate configuration
@@ -338,6 +335,9 @@ requests.
 The password must correspond to the key configured for
 use by the NTP server for this purpose if such requests are to be
 successful.
+.It Ic quit
+Exit
+.Nm
 .It Ic raw
 Causes all output from query commands is printed as received
 from the remote server.
@@ -377,7 +377,7 @@ Display a list of mobilized associations in the form:
 .It Li status Ta peer status word
 .It Li conf Ta Li yes : persistent, Li no : ephemeral
 .It Li reach Ta Li yes : reachable, Li no : unreachable
-.It Li auth Ta Li ok , Liyes , Li bad and Li none
+.It Li auth Ta Li ok , Li yes , Li bad and Li none
 .It Li condition Ta selection status (see the Li select field of the peer status word)
 .It Li last_event Ta event report (see the Li event field of the peer status word)
 .It Li cnt Ta event count (see the Li count field of the peer status word)
@@ -385,9 +385,9 @@ Display a list of mobilized associations in the form:
 .It Cm clockvar Ar assocID Oo Ar name Oo Cm = Ar value Op ... Oc Oc Op ...
 .It Cm cv Ar assocID Oo Ar name Oo Cm = Ar value Op ... Oc Oc Op ...
 Display a list of clock variables for those associations supporting a reference clock.
-.It Li :config Op ...
+.It Cm :config Op ...
 Send the remainder of the command line, including whitespace, to the server as a run-time configuration command in the same format as a line in the configuration file. This command is experimental until further notice and clarification. Authentication is of course required.
-.It Li config-from-file Ar filename
+.It Cm config-from-file Ar filename
 Send the each line of
 .Ar filename
 to the server as run-time configuration commands in the same format as a line in the configuration file. This command is experimental until further notice and clarification. Authentication is required.
@@ -494,12 +494,12 @@ Description
 single-character code indicating current value of the
 .Ic select
 field of the
-<a href="decode.html#peer">peer status word</a>
+.Lk decode.html#peer "peer status word"
 .It Ic remote
 host name (or IP number) of peer
 .It Ic refid
 association ID or
-<a href="decode.html#kiss">kiss code</a>
+.Lk decode.html#kiss "'kiss code"
 .It Ic st
 stratum
 .It Ic t
@@ -536,9 +536,9 @@ Display the specified variables.
 If
 .Ar assocID
 is zero, the variables are from the
-<a href="#system">system variables</a>
+.Sx System Variables
 name space, otherwise they are from the
-<a href="#peer">peer variables</a>
+.Sx Peer Variables
 name space.
 The
 .Ar assocID
@@ -568,7 +568,7 @@ or
 to the ntpd host's file
 .Ar filename .
 This command will be rejected by the server unless
-<a href="miscopt.html#saveconfigdir">saveconfigdir</a>
+.Lk miscopt.html#saveconfigdir "saveconfigdir"
 appears in the
 .Ic ntpd
 configuration file.
@@ -585,9 +585,9 @@ Write the specified variables.
 If the
 .Ar assocID
 is zero, the variables are from the
-<a href="#system">system variables</a>
+.Sx System Variables
 name space, otherwise they are from the
-<a href="#peer">peer variables</a>
+.Sx Peer Variables
 name space.
 The
 .Ar assocID
@@ -598,7 +598,7 @@ Display operational summary.
 Print statistics counters maintained in the protocol module.
 .El
 
-.SS Status Words and Kiss Codes
+.Ss Status Words and Kiss Codes
 
 The current state of the operating program is shown in a set of status words maintained by the system and each association separately.
 These words are displayed in the
@@ -607,13 +607,14 @@ and
 .Ic as
 commands both in hexadecimal and decoded short tip strings.
 The codes, tips and short explanations are on the
-<a href="decode.html">Event Messages and Status Words</a> page.
+.Lk decode.html "Event Messages and Status Words"
+page.
 The page also includes a list of system and peer messages,
 the code for the latest of which is included in the status word.
-
+.Pp
 Information resulting from protocol machine state transitions
 is displayed using an informal set of ASCII strings called
-<a href="decode.html#kiss">kiss codes</a>.
+.Lk decode.html#kiss "kiss codes" .
 The original purpose was for kiss-o'-death (KoD) packets
 sent by the server to advise the client of an unusual condition.
 They are now displayed, when appropriate,
@@ -628,8 +629,7 @@ Not all variables are displayed in some configurations.
 .It Variable
 Description
 .It Ic status
-<a href="decode.html#sys">
-system status word
+.Lk decode.html#sys "system status word"
 .It Ic version
 NTP software version and build time
 .It Ic processor
@@ -656,7 +656,7 @@ minimum time constant (log2 s) (3-10)
 date and time of day
 .It Ic refid
 reference ID or
-<a href="decode.html#kiss">kiss code
+.Lk decode.html#kiss "kiss code"
 .It Ic reftime
 reference time
 .It Ic offset
@@ -679,7 +679,7 @@ NTP seconds when the NIST leapseconds file expires
 The jitter and wander statistics are exponentially-weighted RMS averages.
 The system jitter is defined in the NTPv4 specification;
 the clock jitter statistic is computed by the clock discipline module.
-
+.Pp
 When the NTPv4 daemon is compiled with the OpenSSL software library,
 additional system variables are displayed,
 including some or all of the following,
@@ -717,7 +717,7 @@ Description
 .It Ic associd
 association ID
 .It Ic status
-<a href="decode.html#peer">peer status word
+.Lk decode.html#peer "peer status word"
 .It Ic srcadr
 source (remote) IP address
 .It Ic srcport
@@ -738,7 +738,7 @@ total roundtrip delay to the primary reference clock
 total root dispersion to the primary reference clock
 .It Ic refid
 reference ID or
-<a href="decode.html#kiss">kiss code
+.Lk decode.html#kiss "kiss code"
 .It Ic reftime
 reference time
 .It Ic reach
@@ -755,9 +755,9 @@ host poll exponent (log2 s) (3-17)
 peer poll exponent (log2 s) (3-17)
 .It Ic headway
 headway (see
-<a href="rate.html">Rate Management and the Kiss-o'-Death Packet )
+.Lk rate.html "Rate Management and the Kiss-o'-Death Packet" )
 .It Ic flash
-<a href="decode.html#flash">flash status word
+.Lk decode.html#flash "flash status word"
 .It Ic offset
 filter offset
 .It Ic delay
@@ -772,7 +772,7 @@ Autokey group name for this association
 unicast/broadcast bias
 .It Ic xleave
 interleave delay (see
-<a href="xleave.html">NTP Interleaved Modes</a> )
+.Lk xleave.html "NTP Interleaved Modes" )
 .El
 The
 .Ic bias
@@ -784,7 +784,7 @@ The
 variable appears only for the interleaved symmetric and interleaved modes.
 It represents the internal queuing, buffering and transmission delays
 for the preceding packet.
-
+.Pp
 When the NTPv4 daemon is compiled with the OpenSSL software library,
 additional peer variables are displayed, including the following:
 .Bl -tag -width "something" -compact -offset indent
@@ -817,7 +817,7 @@ Description
 .It Ic associd
 association ID
 .It Ic status
-<a href="decode.html#clock">clock status word
+.Lk decode.html#clock "clock status word"
 .It Ic device
 device description
 .It Ic timecode