From owner-freebsd-doc Tue Jun 22 8:50: 4 1999 Delivered-To: freebsd-doc@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A4C5715042 for ; Tue, 22 Jun 1999 08:50:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id IAA24677; Tue, 22 Jun 1999 08:50:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) 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 ; 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 Reply-To: gonter@whisky.wu-wien.ac.at To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: docs/12344: ntpdate flags, usage statement, man page are slightly different Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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