Fix typo preventing pw {user,group}next -C from working as expected

Reported by:	Mike Selnet via forums.freebsd.org
MFC after:	3 days
This commit is contained in:
Baptiste Daroussin 2016-06-04 16:31:33 +00:00
parent 6525738f63
commit e1fc61c114
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=301367
2 changed files with 2 additions and 2 deletions

View File

@ -261,7 +261,7 @@ pw_group_next(int argc, char **argv, char *arg1 __unused)
int ch;
bool quiet = false;
while ((ch = getopt(argc, argv, "Cq")) != -1) {
while ((ch = getopt(argc, argv, "C:q")) != -1) {
switch (ch) {
case 'C':
cfg = optarg;

View File

@ -742,7 +742,7 @@ pw_user_next(int argc, char **argv, char *name __unused)
bool quiet = false;
uid_t next;
while ((ch = getopt(argc, argv, "Cq")) != -1) {
while ((ch = getopt(argc, argv, "C:q")) != -1) {
switch (ch) {
case 'C':
cfg = optarg;