diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.8 b/usr.sbin/pwd_mkdb/pwd_mkdb.8 index f7a18a8e4da5..0a8b0143569c 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.8 +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.8 @@ -28,7 +28,7 @@ .\" @(#)pwd_mkdb.8 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd April 30, 2018 +.Dd October 20, 2018 .Dt PWD_MKDB 8 .Os .Sh NAME @@ -36,7 +36,7 @@ .Nd "generate the password databases" .Sh SYNOPSIS .Nm -.Op Fl BCiLNp +.Op Fl CiNp .Op Fl d Ar directory .Op Fl s Ar cachesize .Op Fl u Ar username @@ -112,15 +112,6 @@ encrypted password and the insecure version has an asterisk (``*'') The databases are used by the C library password routines (see .Xr getpwent 3 ) . .Pp -The following options affected the generation of legacy entries, -and are now deprecated. -.Bl -tag -width flag -.It Fl B -Store data in big-endian format. -.It Fl L -Store data in little-endian format. -.El -.Pp The .Nm utility exits zero on success, non-zero on failure. diff --git a/usr.sbin/pwd_mkdb/pwd_mkdb.c b/usr.sbin/pwd_mkdb/pwd_mkdb.c index 13fae9510af8..6297bcb461db 100644 --- a/usr.sbin/pwd_mkdb/pwd_mkdb.c +++ b/usr.sbin/pwd_mkdb/pwd_mkdb.c @@ -123,19 +123,11 @@ main(int argc, char *argv[]) makeold = 0; username = NULL; oldfp = NULL; - while ((ch = getopt(argc, argv, "BCLNd:ips:u:v")) != -1) + while ((ch = getopt(argc, argv, "CNd:ips:u:v")) != -1) switch(ch) { - case 'B': /* big-endian output */ - warnx("endiannes options (-B/-L) are deprecated"); - openinfo.lorder = BIG_ENDIAN; - break; case 'C': /* verify only */ Cflag = 1; break; - case 'L': /* little-endian output */ - warnx("endiannes options (-B/-L) are deprecated"); - openinfo.lorder = LITTLE_ENDIAN; - break; case 'N': /* do not wait for lock */ nblock = LOCK_NB; /* will fail if locked */ break;