From: Harlan Stenn Date: Thu, 4 Aug 2011 22:51:13 +0000 (-0400) Subject: sntp autogen regenerate after merge cleanup X-Git-Tag: NTP_4_2_7P201~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2fe2f0c59a79276b6484286f88d2ecdd254ef393;p=thirdparty%2Fntp.git sntp autogen regenerate after merge cleanup bk: 4e3b2261cKZPsU8vSQQ_-3bcrQpNTA --- diff --git a/sntp/sntp-opts.c b/sntp/sntp-opts.c index b8f227af7..b2de39a7e 100644 --- a/sntp/sntp-opts.c +++ b/sntp/sntp-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.c) * - * It has been AutoGen-ed August 4, 2011 at 01:06:06 PM by AutoGen 5.12 + * It has been AutoGen-ed August 4, 2011 at 10:48:33 PM by AutoGen 5.12 * From the definitions sntp-opts.def * and the template file options * @@ -52,7 +52,7 @@ extern FILE * option_usage_fp; /* TRANSLATORS: choose the translation for option names wisely because you cannot ever change your mind. */ static char const zCopyright[333] = -"sntp 4.2.7p199\n\ +"sntp 4.2.7p200\n\ Copyright (C) 1970-2011 The University of Delaware, David L. Mills, and/or others, all rights reserved.\n\ This is free software. It is licensed for use, modification and\n\ redistribution under the terms of the NTP License, copies of which\n\ @@ -62,14 +62,14 @@ can be seen at:\n\ static char const zLicenseDescrip[700] = "Permission to use, copy, modify, and distribute this software and its\n\ documentation for any purpose with or without fee is hereby granted,\n\ -provided that the above copyright notice appears in all copies and\n\ -that both the copyright notice and this permission notice appear in\n\ -supporting documentation, and that the name The University of Delaware,\n\ -David L. Mills, and/or others not be used in advertising or publicity\n\ -pertaining to distribution of the software without specific, written\n\ -prior permission. The University of Delaware, David L. Mills, and/or\n\ -others makes no representations about the suitability this software for\n\ -any purpose. It is provided \"as is\" without express or implied warranty.\n"; +provided that the above copyright notice appears in all copies and that\n\ +both the copyright notice and this permission notice appear in supporting\n\ +documentation, and that the name The University of Delaware, David L.\n\ +Mills, and/or others not be used in advertising or publicity pertaining to\n\ +distribution of the software without specific, written prior permission.\n\ +The University of Delaware, David L. Mills, and/or others makes no\n\ +representations about the suitability this software for any purpose. It is\n\ +provided \"as is\" without express or implied warranty.\n"; extern tUsageProc optionUsage; @@ -205,13 +205,13 @@ static char const zKeyfile_Name[] = "keyfile"; | OPTST_SET_ARGTYPE(OPARG_TYPE_FILE)) /* - * Filelog option description: + * Logfile option description: */ -static char const zFilelogText[] = +static char const zLogfileText[] = "Log to specified logfile"; -static char const zFilelog_NAME[] = "FILELOG"; -static char const zFilelog_Name[] = "filelog"; -#define FILELOG_FLAGS (OPTST_DISABLED \ +static char const zLogfile_NAME[] = "LOGFILE"; +static char const zLogfile_Name[] = "logfile"; +#define LOGFILE_FLAGS (OPTST_DISABLED \ | OPTST_SET_ARGTYPE(OPARG_TYPE_FILE)) /* @@ -323,7 +323,7 @@ static char const zNotLoad_Opts_Pfx[] = "no"; * if multiple copies are allowed. */ static tOptProc - doOptFilelog, doOptKeyfile, doOptKod, doOptNtpversion, + doOptKeyfile, doOptKod, doOptLogfile, doOptNtpversion, doOptSteplimit, doUsageOpt; /* @@ -342,7 +342,7 @@ extern tOptProc optionStackArg, optionTimeDate, optionTimeVal, optionUnstackArg, optionVersionStderr; static tOptProc - doOptFilelog, doOptKeyfile, doOptKod, + doOptKeyfile, doOptKod, doOptLogfile, doOptNtpversion, doOptSet_Debug_Level, doOptSteplimit, doUsageOpt; @@ -496,16 +496,16 @@ static tOptDesc optDesc[OPTION_CT] = { /* desc, NAME, name */ zKeyfileText, zKeyfile_NAME, zKeyfile_Name, /* disablement strs */ NULL, NULL }, - { /* entry idx, value */ 11, VALUE_OPT_FILELOG, - /* equiv idx, value */ 11, VALUE_OPT_FILELOG, + { /* entry idx, value */ 11, VALUE_OPT_LOGFILE, + /* equiv idx, value */ 11, VALUE_OPT_LOGFILE, /* equivalenced to */ NO_EQUIVALENT, /* min, max, act ct */ 0, 1, 0, - /* opt state flags */ FILELOG_FLAGS, 0, + /* opt state flags */ LOGFILE_FLAGS, 0, /* last opt argumnt */ { NULL }, /* arg list/cookie */ NULL, /* must/cannot opts */ NULL, NULL, - /* option proc */ doOptFilelog, - /* desc, NAME, name */ zFilelogText, zFilelog_NAME, zFilelog_Name, + /* option proc */ doOptLogfile, + /* desc, NAME, name */ zLogfileText, zLogfile_NAME, zLogfile_Name, /* disablement strs */ NULL, NULL }, { /* entry idx, value */ 12, VALUE_OPT_STEPLIMIT, @@ -663,13 +663,11 @@ static tOptDesc optDesc[OPTION_CT] = { */ static char const zPROGNAME[5] = "SNTP"; static char const zUsageTitle[154] = -"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p199\n\ +"sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p200\n\ USAGE: %s [ - [] | --[{=| }] ]... \\\n\ \t\t[ hostname-or-IP ...]\n"; static char const zRcName[7] = ".ntprc"; -static char const * const apzHomeList[5] = { - "$HOME", - ".", +static char const * const apzHomeList[3] = { "$HOME", ".", NULL }; @@ -807,10 +805,10 @@ doOptKeyfile(tOptions* pOptions, tOptDesc* pOptDesc) /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * - * For the filelog option. + * For the logfile option. */ static void -doOptFilelog(tOptions* pOptions, tOptDesc* pOptDesc) +doOptLogfile(tOptions* pOptions, tOptDesc* pOptDesc) { static teOptFileType const type = FTYPE_MODE_MAY_EXIST + FTYPE_MODE_NO_OPEN; diff --git a/sntp/sntp-opts.def b/sntp/sntp-opts.def index 8e0088578..331e0ac41 100644 --- a/sntp/sntp-opts.def +++ b/sntp/sntp-opts.def @@ -163,7 +163,7 @@ flag = { }; flag = { - name = filelog; + name = logfile; value = l; arg-type = file; arg-name = "file-name"; diff --git a/sntp/sntp-opts.h b/sntp/sntp-opts.h index bf64c4290..5df93449c 100644 --- a/sntp/sntp-opts.h +++ b/sntp/sntp-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.h) * - * It has been AutoGen-ed August 4, 2011 at 01:06:06 PM by AutoGen 5.12 + * It has been AutoGen-ed August 4, 2011 at 10:48:33 PM by AutoGen 5.12 * From the definitions sntp-opts.def * and the template file options * @@ -74,7 +74,7 @@ typedef enum { INDEX_OPT_GAP = 8, INDEX_OPT_KOD = 9, INDEX_OPT_KEYFILE = 10, - INDEX_OPT_FILELOG = 11, + INDEX_OPT_LOGFILE = 11, INDEX_OPT_STEPLIMIT = 12, INDEX_OPT_NTPVERSION = 13, INDEX_OPT_USERESERVEDPORT = 14, @@ -90,8 +90,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 24 -#define SNTP_VERSION "4.2.7p199" -#define SNTP_FULL_VERSION "sntp 4.2.7p199" +#define SNTP_VERSION "4.2.7p200" +#define SNTP_FULL_VERSION "sntp 4.2.7p200" /* * Interface defines for all options. Replace "n" with the UPPER_CASED @@ -170,9 +170,9 @@ typedef enum { # warning undefining KEYFILE due to option name conflict # undef KEYFILE # endif -# ifdef FILELOG -# warning undefining FILELOG due to option name conflict -# undef FILELOG +# ifdef LOGFILE +# warning undefining LOGFILE due to option name conflict +# undef LOGFILE # endif # ifdef STEPLIMIT # warning undefining STEPLIMIT due to option name conflict @@ -214,7 +214,7 @@ typedef enum { # undef GAP # undef KOD # undef KEYFILE -# undef FILELOG +# undef LOGFILE # undef STEPLIMIT # undef NTPVERSION # undef USERESERVEDPORT @@ -245,7 +245,7 @@ typedef enum { #define OPT_VALUE_GAP (DESC(GAP).optArg.argInt) #define VALUE_OPT_KOD 'K' #define VALUE_OPT_KEYFILE 'k' -#define VALUE_OPT_FILELOG 'l' +#define VALUE_OPT_LOGFILE 'l' #define VALUE_OPT_STEPLIMIT 'M' #define OPT_VALUE_STEPLIMIT (DESC(STEPLIMIT).optArg.argInt) diff --git a/sntp/sntp-opts.texi b/sntp/sntp-opts.texi index 6295ff201..00dd9eb28 100644 --- a/sntp/sntp-opts.texi +++ b/sntp/sntp-opts.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (sntp-opts.texi) # -# It has been AutoGen-ed August 4, 2011 at 01:06:17 PM by AutoGen 5.12 +# It has been AutoGen-ed August 4, 2011 at 10:48:46 PM by AutoGen 5.12 # From the definitions sntp-opts.def # and the template file aginfo.tpl @end ignore @@ -52,12 +52,12 @@ This software is released under a specialized copyright license. * sntp broadcast:: broadcast option (-b) * sntp concurrent:: concurrent option (-c) * sntp debug-level:: debug-level option (-d) -* sntp filelog:: filelog option (-l) * sntp gap:: gap option (-g) * sntp ipv4:: ipv4 option (-4) * sntp ipv6:: ipv6 option (-6) * sntp keyfile:: keyfile option (-k) * sntp kod:: kod option (-K) +* sntp logfile:: logfile option (-l) * sntp ntpversion:: ntpversion option (-o) * sntp set-debug-level:: set-debug-level option (-D) * sntp slew:: slew option (-s) @@ -76,7 +76,7 @@ This is the automatically generated usage text for sntp: @exampleindent 0 @example -sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p199 +sntp - standard Simple Network Time Protocol program - Ver. 4.2.7p200 USAGE: sntp [ - [] | --[@{=| @}] ]... \ [ hostname-or-IP ...] Flg Arg Option-Name Description @@ -99,7 +99,7 @@ USAGE: sntp [ - [] | --[@{=| @}] ]... \ -g Num gap The gap (in milliseconds) between time requests -K Fil kod KoD history filename -k Fil keyfile Look in this file for the key specified with -a - -l Fil filelog Log to specified logfile + -l Fil logfile Log to specified logfile -M Num steplimit Adjustments less than steplimit msec will be slewed - It must be in the range: greater than or equal to 0 @@ -127,8 +127,6 @@ hyphen and the flag character. The following option preset mechanisms are supported: - - reading file $HOME/.ntprc - - reading file ./.ntprc - reading file $HOME/.ntprc - reading file ./.ntprc - examining environment variables named SNTP_* @@ -207,14 +205,6 @@ may appear an unlimited number of times. -@node sntp filelog -@subsection filelog option (-l) -@cindex sntp-filelog - -This is the ``log to specified logfile'' option. -This option causes the client to write log messages to the specified -logfile. - @node sntp gap @subsection gap option (-g) @cindex sntp-gap @@ -287,6 +277,14 @@ Specifies the filename to be used for the persistent history of KoD responses received from servers. The default is /var/db/ntp-kod . +@node sntp logfile +@subsection logfile option (-l) +@cindex sntp-logfile + +This is the ``log to specified logfile'' option. +This option causes the client to write log messages to the specified +logfile. + @node sntp ntpversion @subsection ntpversion option (-o) @cindex sntp-ntpversion diff --git a/sntp/sntp.1sntpman b/sntp/sntp.1sntpman index 5b03fbeb0..0ea4e1e9b 100644 --- a/sntp/sntp.1sntpman +++ b/sntp/sntp.1sntpman @@ -1,8 +1,8 @@ -.TH sntp 1sntpman "04 Aug 2011" "4.2.7p199" "User Commands" +.TH sntp 1sntpman "04 Aug 2011" "4.2.7p200" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (sntp-opts.man) .\" -.\" It has been AutoGen-ed August 4, 2011 at 01:06:16 PM by AutoGen 5.12 +.\" It has been AutoGen-ed August 4, 2011 at 10:48:48 PM by AutoGen 5.12 .\" From the definitions sntp-opts.def .\" and the template file agman-cmd.tpl .\" @@ -145,7 +145,7 @@ A Key is a 1-to-8 character ASCII string. M Key is a 1-to-8 character ASCII string using the MD5 authentication scheme. For more information see ntp.keys(5). .TP -.BR \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP +.BR \-l " \fIfile\-name\fP, " \-\-logfile "=" \fIfile\-name\fP Log to specified logfile. .sp This option causes the client to write log messages to the specified @@ -244,7 +244,7 @@ environment variables named: .ad The environmental presets take precedence (are processed later than) the configuration files. -The \fIhomerc\fP files are "\fI$HOME\fP", "\fI.\fP", "\fI$HOME\fP", and "\fI.\fP". +The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP". If any of these are directories, then the file \fI.ntprc\fP is searched for within those directories. .SH USAGE diff --git a/sntp/sntp.1sntpmdoc b/sntp/sntp.1sntpmdoc index 09b6e9ee5..043128a29 100644 --- a/sntp/sntp.1sntpmdoc +++ b/sntp/sntp.1sntpmdoc @@ -1,9 +1,9 @@ .Dd August 4 2011 .Dt SNTP 1sntpmdoc User Commands -.Os SunOS 5.11 +.Os FreeBSD 6.4-STABLE .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed August 4, 2011 at 01:06:18 PM by AutoGen 5.12 +.\" It has been AutoGen-ed August 4, 2011 at 10:48:44 PM by AutoGen 5.12 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -138,7 +138,7 @@ N Key is a 64 Bit hexadecimal number as specified in the NTP standard. A Key is a 1-to-8 character ASCII string. M Key is a 1-to-8 character ASCII string using the MD5 authentication scheme. For more information see ntp.keys(5). -.It \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP +.It \-l " \fIfile\-name\fP, " \-\-logfile "=" \fIfile\-name\fP Log to specified logfile. .sp This option causes the client to write log messages to the specified @@ -226,7 +226,7 @@ environment variables named: .ad The environmental presets take precedence (are processed later than) the configuration files. -The \fIhomerc\fP files are "\fI$HOME\fP", "\fI.\fP", "\fI$HOME\fP", and "\fI.\fP". +The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP". If any of these are directories, then the file \fI.ntprc\fP is searched for within those directories. .Sh USAGE diff --git a/sntp/sntp.html b/sntp/sntp.html index 29eec57ed..678ec111a 100644 --- a/sntp/sntp.html +++ b/sntp/sntp.html @@ -3,7 +3,7 @@ Sntp User's Manual - + @@ -14,18 +14,20 @@ pre.smallformat { font-family:inherit; font-size:smaller } pre.smallexample { font-size:smaller } pre.smalllisp { font-size:smaller } - span.sc { font-variant:small-caps } - span.roman { font-family: serif; font-weight: normal; } + span.sc { font-variant:small-caps } + span.roman { font-family:serif; font-weight:normal; } + span.sansserif { font-family:sans-serif; font-weight:normal; } -->

Sntp User's Manual


-Next: , + +Next: , Previous: (dir), Up: (dir) -
+

Simple Network Time Protocol User Manual

@@ -57,7 +59,8 @@ IETF specification.


-
+ +
@@ -78,7 +81,8 @@ error bound of the system clock relative to the server clock.


-
+ +

Invoking sntp

@@ -111,7 +115,7 @@ is believed to be correct to within seconds.

This section was generated by AutoGen, -the aginfo template and the option descriptions for the sntp program. It documents the sntp usage text and option meanings. +the aginfo template and the option descriptions for the sntp program. It documents the sntp usage text and option meanings.

This software is released under a specialized copyright license. @@ -122,12 +126,12 @@ the aginfo template and the option descriptions for the sn

  • sntp broadcast: broadcast option (-b)
  • sntp concurrent: concurrent option (-c)
  • sntp debug-level: debug-level option (-d) -
  • sntp filelog: filelog option (-l) -
  • sntp gap: gap option (-g) -
  • sntp ipv4: ipv4 option (-4) -
  • sntp ipv6: ipv6 option (-6) +
  • sntp gap: gap option (-g) +
  • sntp ipv4: ipv4 option (-4) +
  • sntp ipv6: ipv6 option (-6)
  • sntp keyfile: keyfile option (-k)
  • sntp kod: kod option (-K) +
  • sntp logfile: logfile option (-l)
  • sntp ntpversion: ntpversion option (-o)
  • sntp set-debug-level: set-debug-level option (-D)
  • sntp slew: slew option (-s) @@ -140,9 +144,10 @@ the aginfo template and the option descriptions for the sn

    sntp usage help (-?)

    @@ -173,7 +178,7 @@ USAGE: sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]. -g Num gap The gap (in milliseconds) between time requests -K Fil kod KoD history filename -k Fil keyfile Look in this file for the key specified with -a - -l Fil filelog Log to specified logfile + -l Fil logfile Log to specified logfile -M Num steplimit Adjustments less than steplimit msec will be slewed - It must be in the range: greater than or equal to 0 @@ -201,8 +206,6 @@ hyphen and the flag character. The following option preset mechanisms are supported: - - reading file $HOME/.ntprc - - reading file ./.ntprc - reading file $HOME/.ntprc - reading file ./.ntprc - examining environment variables named SNTP_* @@ -211,10 +214,11 @@ please send bug reports to: http://bugs.ntp.org, bugs@ntp.org


    -Next: , + +Next: , Previous: sntp usage, Up: sntp Invocation -
    +

    authentication option (-a)

    @@ -228,10 +232,11 @@ keyfile option (-k) for more details.


    -Next: , + +Next: , Previous: sntp authentication, Up: sntp Invocation -
    +

    bctimeout option (-B)

    @@ -243,10 +248,11 @@ of seconds specified before giving up. Default 68 seconds.


    -Next: , + +Next: , Previous: sntp bctimeout, Up: sntp Invocation -
    +

    broadcast option (-b)

    @@ -265,10 +271,11 @@ for NTP broadcasts. The default maximum wait time,


    -Next: , + +Next: , Previous: sntp broadcast, Up: sntp Invocation -
    +

    concurrent option (-c)

    @@ -293,10 +300,12 @@ can send concurrent queries.


    -Next: , + + +Next: , Previous: sntp concurrent, Up: sntp Invocation -
    +

    debug-level option (-d)

    @@ -311,30 +320,16 @@ This is the “increase debug verbosity level” option.


    -Next: , + +Next: , Previous: sntp debug-level, Up: sntp Invocation -
    -
    - -

    filelog option (-l)

    - -

    -This is the “log to specified logfile” option. -This option causes the client to write log messages to the specified -logfile. -

    -


    -Next: , -Previous: sntp filelog, -Up: sntp Invocation -

    gap option (-g)

    -

    +

    This is the “the gap (in milliseconds) between time requests” option. Since we're only going to use the first valid response we get and there is benefit to specifying a good number of servers to query, @@ -344,15 +339,16 @@ Default 10 milliseconds.


    -Next: , + +Next: , Previous: sntp gap, Up: sntp Invocation -
    +

    ipv4 option (-4)

    -

    +

    This is the “force ipv4 dns name resolution” option.

    This option has some usage constraints. It: @@ -366,15 +362,16 @@ to the IPv4 namespace.


    -Next: , + +Next: , Previous: sntp ipv4, Up: sntp Invocation -
    +

    ipv6 option (-6)

    -

    +

    This is the “force ipv6 dns name resolution” option.

    This option has some usage constraints. It: @@ -388,15 +385,16 @@ to the IPv6 namespace.


    -Next: , + +Next: , Previous: sntp ipv6, Up: sntp Invocation -
    +

    keyfile option (-k)

    -

    +

    This is the “look in this file for the key specified with -a” option. This option specifies the keyfile. SNTP will search for the key specified with -a keyno in this @@ -415,15 +413,16 @@ M Key is a 1-to-8 character ASCII string using the MD5 authentication scheme.


    -Next: , + +Next: , Previous: sntp keyfile, Up: sntp Invocation -
    +

    kod option (-K)

    -

    +

    This is the “kod history filename” option. Specifies the filename to be used for the persistent history of KoD responses received from servers. The default is @@ -431,10 +430,27 @@ responses received from servers. The default is


    -Next: , + +Next: , Previous: sntp kod, Up: sntp Invocation -
    + +
    + +

    logfile option (-l)

    + +

    +This is the “log to specified logfile” option. +This option causes the client to write log messages to the specified +logfile. + +

    +


    + +Next: , +Previous: sntp logfile, +Up: sntp Invocation +

    ntpversion option (-o)

    @@ -446,10 +462,12 @@ NTP protocol version <ntpversion> .


    -Next: , + + +Next: , Previous: sntp ntpversion, Up: sntp Invocation -
    +

    set-debug-level option (-D)

    @@ -464,10 +482,11 @@ This is the “set the debug verbosity level” option.


    -Next: , + +Next: , Previous: sntp set-debug-level, Up: sntp Invocation -
    +

    slew option (-s)

    @@ -477,10 +496,11 @@ This is the “ok to 'slew' the time with adjtime()” option.


    -Next: , + +Next: , Previous: sntp slew, Up: sntp Invocation -
    +

    step option (-S)

    @@ -490,10 +510,11 @@ This is the “ok to 'step' the time with settimeofday()” option.


    -Next: , + +Next: , Previous: sntp step, Up: sntp Invocation -
    +

    steplimit option (-M)

    @@ -506,10 +527,11 @@ settimeofday().


    -Next: , + +Next: , Previous: sntp steplimit, Up: sntp Invocation -
    +

    uctimeout option (-u)

    @@ -521,10 +543,11 @@ of seconds specified before giving up. Default 5 seconds.


    -Next: , + +Next: , Previous: sntp uctimeout, Up: sntp Invocation -
    +

    usereservedport option (-r)

    @@ -536,9 +559,10 @@ communications.


    -Previous: sntp usereservedport, + +Previous: sntp usereservedport, Up: sntp Invocation -
    +

    wait option

    @@ -556,7 +580,8 @@ This is the “wait for pending replies (if not setting the time)” opt


    -
    + +
    diff --git a/sntp/sntp.man.in b/sntp/sntp.man.in index 7157b1e2b..41b65e6c2 100644 --- a/sntp/sntp.man.in +++ b/sntp/sntp.man.in @@ -1,8 +1,8 @@ -.TH sntp @SNTP_MS@ "04 Aug 2011" "4.2.7p199" "User Commands" +.TH sntp @SNTP_MS@ "04 Aug 2011" "4.2.7p200" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (sntp-opts.man) .\" -.\" It has been AutoGen-ed August 4, 2011 at 01:06:16 PM by AutoGen 5.12 +.\" It has been AutoGen-ed August 4, 2011 at 10:48:48 PM by AutoGen 5.12 .\" From the definitions sntp-opts.def .\" and the template file agman-cmd.tpl .\" @@ -145,7 +145,7 @@ A Key is a 1-to-8 character ASCII string. M Key is a 1-to-8 character ASCII string using the MD5 authentication scheme. For more information see ntp.keys(5). .TP -.BR \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP +.BR \-l " \fIfile\-name\fP, " \-\-logfile "=" \fIfile\-name\fP Log to specified logfile. .sp This option causes the client to write log messages to the specified @@ -244,7 +244,7 @@ environment variables named: .ad The environmental presets take precedence (are processed later than) the configuration files. -The \fIhomerc\fP files are "\fI$HOME\fP", "\fI.\fP", "\fI$HOME\fP", and "\fI.\fP". +The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP". If any of these are directories, then the file \fI.ntprc\fP is searched for within those directories. .SH USAGE diff --git a/sntp/sntp.mdoc.in b/sntp/sntp.mdoc.in index d86c7643c..fefaeacfd 100644 --- a/sntp/sntp.mdoc.in +++ b/sntp/sntp.mdoc.in @@ -1,9 +1,9 @@ .Dd August 4 2011 .Dt SNTP @SNTP_MS@ User Commands -.Os SunOS 5.11 +.Os FreeBSD 6.4-STABLE .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed August 4, 2011 at 01:06:18 PM by AutoGen 5.12 +.\" It has been AutoGen-ed August 4, 2011 at 10:48:44 PM by AutoGen 5.12 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME @@ -138,7 +138,7 @@ N Key is a 64 Bit hexadecimal number as specified in the NTP standard. A Key is a 1-to-8 character ASCII string. M Key is a 1-to-8 character ASCII string using the MD5 authentication scheme. For more information see ntp.keys(5). -.It \-l " \fIfile\-name\fP, " \-\-filelog "=" \fIfile\-name\fP +.It \-l " \fIfile\-name\fP, " \-\-logfile "=" \fIfile\-name\fP Log to specified logfile. .sp This option causes the client to write log messages to the specified @@ -226,7 +226,7 @@ environment variables named: .ad The environmental presets take precedence (are processed later than) the configuration files. -The \fIhomerc\fP files are "\fI$HOME\fP", "\fI.\fP", "\fI$HOME\fP", and "\fI.\fP". +The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP". If any of these are directories, then the file \fI.ntprc\fP is searched for within those directories. .Sh USAGE