Module Name:    src
Committed By:   ginsbach
Date:           Sat Aug 26 18:16:06 UTC 2017

Modified Files:
        src/usr.sbin/rdate: rdate.8 rdate.c

Log Message:
Sort options alphabetically.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/rdate/rdate.8
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/rdate/rdate.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/rdate/rdate.8
diff -u src/usr.sbin/rdate/rdate.8:1.11 src/usr.sbin/rdate/rdate.8:1.12
--- src/usr.sbin/rdate/rdate.8:1.11	Wed Oct 21 01:07:47 2009
+++ src/usr.sbin/rdate/rdate.8	Sat Aug 26 18:16:05 2017
@@ -1,4 +1,4 @@
-.\"	$NetBSD: rdate.8,v 1.11 2009/10/21 01:07:47 snj Exp $
+.\"	$NetBSD: rdate.8,v 1.12 2017/08/26 18:16:05 ginsbach Exp $
 .\"
 .\" Copyright (c) 1994 Christos Zoulas
 .\" All rights reserved.
@@ -31,7 +31,7 @@
 .Nd set the system's date from a remote host
 .Sh SYNOPSIS
 .Nm
-.Op Fl psa
+.Op Fl aps
 .Ar host
 .Sh DESCRIPTION
 .Nm
@@ -43,15 +43,15 @@ protocol which is usually implemented as
 Available options:
 .Pp
 .Bl -tag -width indent
-.It Fl p
-Do not set, just print the remote time
-.It Fl s
-Do not print the time.
 .It Fl a
 Use the
 .Xr adjtime 2
 call to gradually skew the local time to the
 remote time rather than just hopping.
+.It Fl p
+Do not set, just print the remote time
+.It Fl s
+Do not print the time.
 .El
 .Sh FILES
 .Bl -tag -width /var/log/wtmp -compact

Index: src/usr.sbin/rdate/rdate.c
diff -u src/usr.sbin/rdate/rdate.c:1.20 src/usr.sbin/rdate/rdate.c:1.21
--- src/usr.sbin/rdate/rdate.c:1.20	Thu May  4 16:26:09 2017
+++ src/usr.sbin/rdate/rdate.c	Sat Aug 26 18:16:05 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $	*/
+/*	$NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $	*/
 
 /*
  * Copyright (c) 1994 Christos Zoulas
@@ -34,7 +34,7 @@
  */
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rdate.c,v 1.20 2017/05/04 16:26:09 sevan Exp $");
+__RCSID("$NetBSD: rdate.c,v 1.21 2017/08/26 18:16:05 ginsbach Exp $");
 #endif /* lint */
 
 #include <sys/types.h>
@@ -59,10 +59,10 @@ static	void	usage(void);
 static void
 usage(void)
 {
-	(void) fprintf(stderr, "usage: %s [-psa] host\n", getprogname());
+	(void) fprintf(stderr, "usage: %s [-aps] host\n", getprogname());
+	(void) fprintf(stderr, "  -a: use adjtime instead of instant change\n");
 	(void) fprintf(stderr, "  -p: just print, don't set\n");
 	(void) fprintf(stderr, "  -s: just set, don't print\n");
-	(void) fprintf(stderr, "  -a: use adjtime instead of instant change\n");
 }
 
 int

Reply via email to