diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-01 12:18:48 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-08-01 12:18:48 +0000 |
commit | 5837d32617e40ec26202ff5e8d8f400e387de9b7 (patch) | |
tree | 8bcd54e05ab482c1e7df50107e66d2b961de647a /pw/pw.c | |
parent | 99f27a4625240a43c12ba794ab6d1981eaae0946 (diff) | |
download | pw-darwin-5837d32617e40ec26202ff5e8d8f400e387de9b7.tar.gz pw-darwin-5837d32617e40ec26202ff5e8d8f400e387de9b7.tar.zst pw-darwin-5837d32617e40ec26202ff5e8d8f400e387de9b7.zip |
Partial revert of r286152
More work needed on the cli validation
Diffstat (limited to 'pw/pw.c')
-rw-r--r-- | pw/pw.c | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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; |