=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/nfsstat/nfsstat.c,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- src/usr.bin/nfsstat/nfsstat.c 2003/07/07 21:36:52 1.21 +++ src/usr.bin/nfsstat/nfsstat.c 2004/03/02 20:49:41 1.22 @@ -1,4 +1,4 @@ -/* $OpenBSD: nfsstat.c,v 1.21 2003/07/07 21:36:52 deraadt Exp $ */ +/* $OpenBSD: nfsstat.c,v 1.22 2004/03/02 20:49:41 tedu Exp $ */ /* $NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $ */ /* @@ -44,7 +44,7 @@ static char sccsid[] = "from: @(#)nfsstat.c 8.1 (Berkeley) 6/6/93"; static char *rcsid = "$NetBSD: nfsstat.c,v 1.7 1996/03/03 17:21:30 thorpej Exp $"; #else -static char *rcsid = "$OpenBSD: nfsstat.c,v 1.21 2003/07/07 21:36:52 deraadt Exp $"; +static char *rcsid = "$OpenBSD: nfsstat.c,v 1.22 2004/03/02 20:49:41 tedu Exp $"; #endif #endif /* not lint */ @@ -101,7 +101,7 @@ interval = 0; memf = nlistf = NULL; - while ((ch = getopt(argc, argv, "M:N:w:sc")) != -1) + while ((ch = getopt(argc, argv, "cM:N:sw:")) != -1) switch(ch) { case 'M': memf = optarg; @@ -418,8 +418,9 @@ usage(void) { extern char *__progname; + fprintf(stderr, - "usage: %s [-M core] [-N system] [-s] [-c] [-w interval]\n", + "usage: %s [-cs] [-M core] [-N system] [-w interval]\n", __progname); exit(1); }