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)
*
@ -17,7 +17,7 @@
#include <sys/cdefs.h>
#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
#include <sys/param.h>
@ -136,7 +136,9 @@ int main(int argc, char **argv)
zerokey = 1;
break;
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
@ -47,7 +47,7 @@ __COPYRIGHT("@(#) Copyright (c) 1989, 1993\n\
#if 0
static char sccsid[] = "@(#)mountd.c 8.15 (Berkeley) 5/1/95";
#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 /* not lint */
@ -329,9 +329,9 @@ main(argc, argv)
default:
fprintf(stderr, "usage: %s [-dNn]"
#ifdef IPSEC
" [-P ipsec policy]"
" [-P policy]"
#endif
" [export_file]\n", getprogname());
" [-p port] [exportsfile]\n", getprogname());
exit(1);
};
argc -= optind;