mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
pwd_mkdb: warn that legacy support is deprecated (if specified)
r283981 switched pwd_mkdb to emit only v4 database entries by default, and introduced a -l (legacy) option emit v3 entries in addition. The commit message claims that legacy support will be removed in 12.0, so emit a warning now if it is used.
This commit is contained in:
parent
323e673945
commit
97303f37f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=332789
@ -166,6 +166,8 @@ main(int argc, char *argv[])
|
||||
|
||||
if (argc != 1 || (username && (*username == '+' || *username == '-')))
|
||||
usage();
|
||||
if (lflag)
|
||||
warnx("legacy (v3) database format support is deprecated");
|
||||
|
||||
/*
|
||||
* This could be changed to allow the user to interrupt.
|
||||
|
Loading…
Reference in New Issue
Block a user