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
169b6f53fe
commit
3169b6e8ad
@ -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