Date: Sat, 4 Jun 2016 16:31:33 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r301367 - head/usr.sbin/pw Message-ID: <201606041631.u54GVXuK039503@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jun 4 16:31:33 2016 New Revision: 301367 URL: https://svnweb.freebsd.org/changeset/base/301367 Log: Fix typo preventing pw {user,group}next -C from working as expected Reported by: Mike Selnet via forums.freebsd.org MFC after: 3 days Modified: head/usr.sbin/pw/pw_group.c head/usr.sbin/pw/pw_user.c Modified: head/usr.sbin/pw/pw_group.c ============================================================================== --- head/usr.sbin/pw/pw_group.c Sat Jun 4 16:31:04 2016 (r301366) +++ head/usr.sbin/pw/pw_group.c Sat Jun 4 16:31:33 2016 (r301367) @@ -261,7 +261,7 @@ pw_group_next(int argc, char **argv, cha 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; Modified: head/usr.sbin/pw/pw_user.c ============================================================================== --- head/usr.sbin/pw/pw_user.c Sat Jun 4 16:31:04 2016 (r301366) +++ head/usr.sbin/pw/pw_user.c Sat Jun 4 16:31:33 2016 (r301367) @@ -742,7 +742,7 @@ pw_user_next(int argc, char **argv, char 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606041631.u54GVXuK039503>