diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-07-09 19:41:57 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2008-07-09 19:41:57 +0000 |
commit | 3cbbe2ab1a230d7c2c58514c1d3740f8f286c587 (patch) | |
tree | 4f09cd57fe0753d0e2632be5ada4343659570db4 /usr.sbin/rdate/rdate.c | |
parent | 1d121c20fd61fbfa6259fdf0ce5372abf79b6d4c (diff) |
documentation tweaks.
Diffstat (limited to 'usr.sbin/rdate/rdate.c')
-rw-r--r-- | usr.sbin/rdate/rdate.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/usr.sbin/rdate/rdate.c b/usr.sbin/rdate/rdate.c index 5bcbb7082f3..2ab9981419c 100644 --- a/usr.sbin/rdate/rdate.c +++ b/usr.sbin/rdate/rdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rdate.c,v 1.22 2004/02/18 20:10:53 jmc Exp $ */ +/* $OpenBSD: rdate.c,v 1.23 2008/07/09 19:41:56 sobrado Exp $ */ /* $NetBSD: rdate.c,v 1.4 1996/03/16 12:37:45 pk Exp $ */ /* @@ -42,7 +42,7 @@ #if 0 from: static char rcsid[] = "$NetBSD: rdate.c,v 1.3 1996/02/22 06:59:18 thorpej Exp $"; #else -static const char rcsid[] = "$OpenBSD: rdate.c,v 1.22 2004/02/18 20:10:53 jmc Exp $"; +static const char rcsid[] = "$OpenBSD: rdate.c,v 1.23 2008/07/09 19:41:56 sobrado Exp $"; #endif #endif /* lint */ @@ -72,15 +72,16 @@ extern char *__progname; void usage(void) { - (void) fprintf(stderr, "Usage: %s [-46acnpsv] host\n", __progname); - (void) fprintf(stderr, " -4: use IPv4 only\n"); - (void) fprintf(stderr, " -6: use IPv6 only\n"); - (void) fprintf(stderr, " -a: use adjtime instead of instant change\n"); - (void) fprintf(stderr, " -c: correct leap second count\n"); - (void) fprintf(stderr, " -n: use SNTP instead of RFC868 time protocol\n"); - (void) fprintf(stderr, " -p: just print, don't set\n"); - (void) fprintf(stderr, " -s: just set, don't print\n"); - (void) fprintf(stderr, " -v: verbose output\n"); + (void) fprintf(stderr, "usage: %s [-46acnpsv] host\n", __progname); + (void) fprintf(stderr, + " -4: use IPv4 only\n" + " -6: use IPv6 only\n" + " -a: use adjtime instead of instant change\n" + " -c: correct leap second count\n" + " -n: use SNTP instead of RFC868 time protocol\n" + " -p: just print, don't set\n" + " -s: just set, don't print\n" + " -v: verbose output\n"); } int |