Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 16:59:28 +0200 (CEST)
From:      Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/12344: ntpdate flags, usage statement, man page are slightly different
Message-ID:  <199906221459.QAA10217@whisky.wu-wien.ac.at>

index | next in thread | raw e-mail


>Number:         12344
>Category:       docs
>Synopsis:       ntpdate flags, usage statement, man page are slightly different
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 22 08:50:00 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Gerhard Gonter
>Release:        FreeBSD 3.0-RELEASE i386
>Organization:
WU-Wien
>Environment:

	FreeBSD source as of 1999-06-22

>Description:

	The flags of the ntpdate command are not all described in man 8 ntpdate,
	the usage statement also does not show the same flags.

>How-To-Repeat:
>Fix:

Two files (ntpdate/ntpdate.c, doc/ntpdate.8) in /usr/src/usr.sbin/xntpd
should be modified to show the same flags.  Here are the diff's:

*** ntpdate/ntpdate.c   1999/06/22 14:05:33     1.1
--- ntpdate/ntpdate.c   1999/06/22 14:34:07
***************
*** 252,256 ****
        if (errflg || sys_maxservers == 0) {
                (void) fprintf(stderr,
! "usage: %s [-bqs] [-a key#] [-k file] [-p samples] [-t timeo] server ...\n",
                    progname);
                exit(2);
--- 252,256 ----
        if (errflg || sys_maxservers == 0) {
                (void) fprintf(stderr,
! "usage: %s [-bdqsv] [-o version] [-a key#] [-e authdelay] [-k keyfile] [-p samples] [-t timeout] server ...\n",
                    progname);
                exit(2);
*** doc/ntpdate.8	1999/06/22 14:31:56	1.1
--- doc/ntpdate.8	1999/06/22 14:33:00
***************
*** 10,14 ****
  .Sh SYNOPSIS
  .Nm
! .Op Fl bds
  .Op Fl o Ar version
  .Op Fl a Ar key#
--- 10,14 ----
  .Sh SYNOPSIS
  .Nm
! .Op Fl bdqsv
  .Op Fl o Ar version
  .Op Fl a Ar key#
***************
*** 76,80 ****
  .Nm
  will do without it actually doing it.  Information useful for general
! debugging will also be printed.  By default
  .Nm
  claims to be an NTP version 3 implementation in its outgoing packets.  As
--- 76,85 ----
  .Nm
  will do without it actually doing it.  Information useful for general
! debugging will also be printed.  The
! .Fl q
! flag is used to perform a simple query without binding a priviledged
! UPD port.  The
! .Fl v
! enables a few diagnostic messages.  By default
  .Nm
  claims to be an NTP version 3 implementation in its outgoing packets.  As


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199906221459.QAA10217>