Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/bin/ntpd Remove duplicated NAME section



details:   https://anonhg.NetBSD.org/src/rev/b08974a6a2b0
branches:  trunk
changeset: 352363:b08974a6a2b0
user:      abhinav <abhinav%NetBSD.org@localhost>
date:      Tue Mar 28 04:27:26 2017 +0000

description:
Remove duplicated NAME section
Remove hardcoded argument to .Os
Remove extra arguments to .Dt

The extra arguments to .Dt were being parsed as the machine architecture for
the man page by mandoc parser, because of which the output of apropos(1) would show
it as file/ntp.keys(5). Same problem exists with other ntp man pages as well.

Committing with approval from Christos, we will investigate and fix the problems
in the source when regenerating the man pages next time.

diffstat:

 external/bsd/ntp/bin/ntpd/ntp.keys.5 |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (23 lines):

diff -r f778f419bdaf -r b08974a6a2b0 external/bsd/ntp/bin/ntpd/ntp.keys.5
--- a/external/bsd/ntp/bin/ntpd/ntp.keys.5      Tue Mar 28 04:10:33 2017 +0000
+++ b/external/bsd/ntp/bin/ntpd/ntp.keys.5      Tue Mar 28 04:27:26 2017 +0000
@@ -1,6 +1,6 @@
 .Dd December 24 2013
-.Dt NTP_KEYS 5 File Formats
-.Os SunOS 5.10
+.Dt NTP_KEYS 5
+.Os
 .\"  EDIT THIS FILE WITH CAUTION  (ntp.mdoc)
 .\"
 .\"  It has been AutoGen-ed  December 24, 2013 at 11:38:26 AM by AutoGen 5.18.3pre5
@@ -9,10 +9,6 @@
 .Sh NAME
 .Nm ntp.keys
 .Nd NTP symmetric key file format
-
-.Sh NAME
-.Nm ntp.keys
-.Nd NTP symmetric key file format
 .Sh SYNOPSIS
 .Sy /etc/ntp.keys
 .Pp 



Home | Main Index | Thread Index | Old Index