From gonter@whisky.wu-wien.ac.at Tue Jun 22 08:44:02 1999
Return-Path: <gonter@whisky.wu-wien.ac.at>
Received: from whisky.wu-wien.ac.at (whisky.wu-wien.ac.at [137.208.16.37])
	by hub.freebsd.org (Postfix) with ESMTP id 789FC14C45
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Jun 1999 08:44:00 -0700 (PDT)
	(envelope-from gonter@whisky.wu-wien.ac.at)
Received: (from gonter@localhost)
	by whisky.wu-wien.ac.at (8.9.1/8.9.1) id QAA10217;
	Tue, 22 Jun 1999 16:59:28 +0200 (CEST)
	(envelope-from gonter)
Message-Id: <199906221459.QAA10217@whisky.wu-wien.ac.at>
Date: Tue, 22 Jun 1999 16:59:28 +0200 (CEST)
From: Gerhard Gonter <gonter@whisky.wu-wien.ac.at>
Reply-To: gonter@whisky.wu-wien.ac.at
To: FreeBSD-gnats-submit@freebsd.org
Subject: ntpdate flags, usage statement, man page are slightly different
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 22 08:50:00 PDT 1999
>Closed-Date:    Mon Jul 5 16:05:41 PDT 1999
>Last-Modified:  Mon Jul  5 16:06:07 PDT 1999
>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:
State-Changed-From-To: open->closed 
State-Changed-By: nik 
State-Changed-When: Mon Jul 5 16:05:41 PDT 1999 
State-Changed-Why:  
Fix applied, thanks. 
>Unformatted:
