]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 659] Move large "detail" description to "prog-man-descrip"
authorHarlan Stenn <stenn@ntp.org>
Sat, 29 Jul 2006 02:30:05 +0000 (22:30 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sat, 29 Jul 2006 02:30:05 +0000 (22:30 -0400)
bk: 44cac82dEN0TSq2eoHzfdQQnnN4dTw

ntpq/ntpq-opts.def
sntp/sntp-opts.def

index a18338783e117dd46f3c186f8513989c17ad5209..9c9b7156268e4d453353aa9551a1937ba79ced32 100644 (file)
@@ -82,6 +82,17 @@ flag = {
 };
 
 detail = <<-  _END_DETAIL
+       The
+       [= prog-name =]
+       utility program is used to query NTP servers which
+       implement the standard NTP mode 6 control message formats defined
+       in Appendix B of the NTPv3 specification RFC1305, requesting
+       information about current state and/or changes in that state.
+       The same formats are used in NTPv4, although some of the
+       variables have changed and new ones added.
+       _END_DETAIL;
+
+prog-man-descrip = <<-  _END_PROG_MAN_DESCRIP
        The
        [= prog-name =]
        utility program is used to query NTP servers which
@@ -329,4 +340,4 @@ detail = <<-  _END_DETAIL
        a timeout will be twice the timeout value set.
        @end table
 
-       _END_DETAIL;
+       _END_PROG_MAN_DESCRIP;
index ef2e341bd6ab4142fbd9a5c67e5edd7808490ea1..3f4fe9ba666b0cae78d2447ae70d50fa6a5d8a21 100644 (file)
@@ -117,10 +117,21 @@ detail = <<-  _END_DETAIL
 .I sntp
 can be used as a SNTP client to query a NTP or SNTP server and either display
 the time or set the local system's time (given suitable privilege).  It can be
-run as an interactive command, in a
+run as an interactive command or in a
 .I cron
-job or as a daemon.  It can be run as a daemon to provide a SNTP server for
-other clients.  NTP is the Network Time Protocol (RFC 1305) and SNTP is the
+job.
+NTP is the Network Time Protocol (RFC 1305) and SNTP is the
+Simple Network Time Protocol (RFC 2030, which supersedes RFC 1769).
+       _END_DETAIL;
+
+prog-man-descrip = <<-  _END_PROG_MAN_DESCRIP
+.I sntp
+can be used as a SNTP client to query a NTP or SNTP server and either display
+the time or set the local system's time (given suitable privilege).  It can be
+run as an interactive command or in a
+.I cron
+job.
+NTP is the Network Time Protocol (RFC 1305) and SNTP is the
 Simple Network Time Protocol (RFC 2030, which supersedes RFC 1769).
 .SS Options
 .PP
@@ -366,4 +377,4 @@ option to a larger value may help.  Or it may not.
 .I sntp
 was developed by N.M. Maclaren of the University of Cambridge Computing
 Service.
-       _END_DETAIL;
+       _END_PROG_MAN_DESCRIP;