diff options
author | bapt <bapt@FreeBSD.org> | 2015-08-01 12:18:48 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-08-01 12:18:48 +0000 |
commit | 8fa8b523a25bd6dc2d3d78b1a16a719c2ae992fd (patch) | |
tree | d5221c973829509b1cc753108a5c1a07ef6b82f3 /usr.sbin/pw/pw.c | |
parent | 353f021396aa5a3afff5a95f4eb2d25e976754af (diff) | |
download | FreeBSD-src-8fa8b523a25bd6dc2d3d78b1a16a719c2ae992fd.zip FreeBSD-src-8fa8b523a25bd6dc2d3d78b1a16a719c2ae992fd.tar.gz |
Partial revert of r286152
More work needed on the cli validation
Diffstat (limited to 'usr.sbin/pw/pw.c')
-rw-r--r-- | usr.sbin/pw/pw.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/usr.sbin/pw/pw.c b/usr.sbin/pw/pw.c index bca6715..88c83db 100644 --- a/usr.sbin/pw/pw.c +++ b/usr.sbin/pw/pw.c @@ -262,11 +262,6 @@ main(int argc, char *argv[]) case 'c': conf.gecos = pw_checkname(optarg, 1); break; - case 'e': - conf.expire_days = strtonum(optarg, 0, INT_MAX, &errstr); - if (errstr) - errx(EX_USAGE, "Invalid expired days: %s", optarg); - break; case 'g': if (which == 0) { /* for user* */ addarg(&arglist, 'g', optarg); @@ -326,11 +321,6 @@ main(int argc, char *argv[]) case 'o': conf.checkduplicate = false; break; - case 'p': - conf.password_days = strtonum(optarg, 0, INT_MAX, &errstr); - if (errstr) - errx(EX_USAGE, "Invalid password days: %s", optarg); - break; case 'q': conf.quiet = true; break; |