Sync usage with man page.

This commit is contained in:
wiz 2005-09-19 22:43:21 +00:00
parent ff2f5aac09
commit f38e8b27b1
2 changed files with 9 additions and 7 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: skeyinit.c,v 1.25 2005/09/18 21:50:20 elad Exp $ */ /* $NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $ */
/* S/KEY v1.1b (skeyinit.c) /* S/KEY v1.1b (skeyinit.c)
* *
@ -17,7 +17,7 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
#ifndef lint #ifndef lint
__RCSID("$NetBSD: skeyinit.c,v 1.25 2005/09/18 21:50:20 elad Exp $"); __RCSID("$NetBSD: skeyinit.c,v 1.26 2005/09/19 22:45:27 wiz Exp $");
#endif #endif
#include <sys/param.h> #include <sys/param.h>
@ -136,7 +136,9 @@ int main(int argc, char **argv)
zerokey = 1; zerokey = 1;
break; break;
default: default:
errx(1, "usage: %s [-n count] [-t md4|md5|sha1] [-s] [-x] [-z] [user]", argv[0]); errx(1, "usage: %s skeyinit [-sxz] [-k passphrase] "
"[-n count] [-p password] [-t hash] [user]",
argv[0]);
} }
} }

View File

@ -1,4 +1,4 @@
/* $NetBSD: mountd.c,v 1.96 2005/09/19 00:59:56 christos Exp $ */ /* $NetBSD: mountd.c,v 1.97 2005/09/19 22:43:21 wiz Exp $ */
/* /*
* Copyright (c) 1989, 1993 * Copyright (c) 1989, 1993
@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0 #if 0
static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95"; static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95";
#else #else
__RCSID("$NetBSD: mountd.c,v 1.96 2005/09/19 00:59:56 christos Exp $"); __RCSID("$NetBSD: mountd.c,v 1.97 2005/09/19 22:43:21 wiz Exp $");
#endif #endif
#endif /* not lint */ #endif /* not lint */
@ -329,9 +329,9 @@ main(argc, argv)
default: default:
fprintf(stderr, "usage: %s [-dNn]" fprintf(stderr, "usage: %s [-dNn]"
#ifdef IPSEC #ifdef IPSEC
" [-P ipsec policy]" " [-P policy]"
#endif #endif
" [export_file]\n", getprogname()); " [-p port] [exportsfile]\n", getprogname());
exit(1); exit(1);
}; };
argc -= optind; argc -= optind;