From: Harlan Stenn Date: Sat, 29 Jul 2006 02:30:05 +0000 (-0400) Subject: [Bug 659] Move large "detail" description to "prog-man-descrip" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd38fef35ab21f1afd9e82004d4ee0e0a5e4dd6;p=thirdparty%2Fntp.git [Bug 659] Move large "detail" description to "prog-man-descrip" bk: 44cac82dEN0TSq2eoHzfdQQnnN4dTw --- diff --git a/ntpq/ntpq-opts.def b/ntpq/ntpq-opts.def index a18338783e..9c9b715626 100644 --- a/ntpq/ntpq-opts.def +++ b/ntpq/ntpq-opts.def @@ -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; diff --git a/sntp/sntp-opts.def b/sntp/sntp-opts.def index ef2e341bd6..3f4fe9ba66 100644 --- a/sntp/sntp-opts.def +++ b/sntp/sntp-opts.def @@ -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;