[Git][NTPsec/ntpsec][master] 2 commits: Fix sort order of options on ntpd man page

Matt Selsky gitlab at mg.gitlab.com
Wed Nov 22 15:56:05 UTC 2017


Matt Selsky pushed to branch master at NTPsec / ntpsec


Commits:
1f2fb8fc by Matt Selsky at 2017-11-22T02:39:14-05:00
Fix sort order of options on ntpd man page

- - - - -
ea280f89 by Matt Selsky at 2017-11-22T10:26:02-05:00
Typo

- - - - -


2 changed files:

- docs/includes/ntpd-body.txt
- ntpd/ntp_refclock.c


Changes:

=====================================
docs/includes/ntpd-body.txt
=====================================
--- a/docs/includes/ntpd-body.txt
+++ b/docs/includes/ntpd-body.txt
@@ -108,11 +108,8 @@ this can happen only once. If the threshold is exceeded after that,
 used with the +-q+ and +-x+ options. See the _tinker_ configuration
 file directive for other options.
 
-+-h+, +--help+::
-  Print a usage message summarizing options and exit.
-
 +-G+, +--force-step-once+::
-  Step any initial offset correction..
+  Step any initial offset correction.
 +
 Normally, +ntpd+ steps the time if the time offset exceeds the step
 threshold, which is 128 ms by default, and otherwise slews the time.
@@ -122,6 +119,9 @@ cause the time to be stepped back so this option must not be used if
 applications requiring monotonic time are running. See the _tinker_
 configuration file directive for other options.
 
++-h+, +--help+::
+  Print a usage message summarizing options and exit.
+
 +-i+ _string_, +--jaildir+=_string_::
   Jail directory.
 +


=====================================
ntpd/ntp_refclock.c
=====================================
--- a/ntpd/ntp_refclock.c
+++ b/ntpd/ntp_refclock.c
@@ -244,7 +244,7 @@ refclock_unpeer(
 	if (NULL == peer->procptr)
 		return;
 
-	/* There's a standard sghutdown sequence if user didn't declare one */
+	/* There's a standard shutdown sequence if user didn't declare one */
 	if (peer->procptr->conf->clock_shutdown)
 		(peer->procptr->conf->clock_shutdown)(peer->procptr);
 	else {



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/c24dbfc6e1c0153c891f4ae3fb96c683e7e7de16...ea280f89a4efb4fb44175e64716d8857a5bd111e

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/c24dbfc6e1c0153c891f4ae3fb96c683e7e7de16...ea280f89a4efb4fb44175e64716d8857a5bd111e
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20171122/ef212267/attachment.html>


More information about the vc mailing list