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:
parent
6525738f63
commit
e1fc61c114
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user