Source-Changes-HG archive

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

[src/trunk]: src/dist/ntp/ntpdate Add the -u flag to the usage message.



details:   https://anonhg.NetBSD.org/src/rev/cf6ebd2cd6ba
branches:  trunk
changeset: 503158:cf6ebd2cd6ba
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Fri Feb 02 03:35:24 2001 +0000

description:
Add the -u flag to the usage message.
Foudn while fixing PR 12078 by Nigel Reed <nigel%nelgin.nu@localhost>

diffstat:

 dist/ntp/ntpdate/ntpdate.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 2a8b5db2910e -r cf6ebd2cd6ba dist/ntp/ntpdate/ntpdate.c
--- a/dist/ntp/ntpdate/ntpdate.c        Fri Feb 02 03:33:50 2001 +0000
+++ b/dist/ntp/ntpdate/ntpdate.c        Fri Feb 02 03:35:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntpdate.c,v 1.1.1.2 2000/04/22 14:53:42 simonb Exp $   */
+/*     $NetBSD: ntpdate.c,v 1.2 2001/02/02 03:35:24 hubertf Exp $      */
 
 /*
  * ntpdate - set the time of day by polling one or more NTP servers
@@ -431,7 +431,7 @@
        
        if (errflg) {
                (void) fprintf(stderr,
-                                  "usage: %s [-bBdqsv] [-a key#] [-e delay] [-k file] [-p samples] [-o version#] [-r rate] [-t timeo] server ...\n",
+                                  "usage: %s [-bBdqsuv] [-a key#] [-e delay] [-k file] [-p samples] [-o version#] [-r rate] [-t timeo] server ...\n",
                                   progname);
                exit(2);
        }



Home | Main Index | Thread Index | Old Index