diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-04 16:31:33 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2016-06-04 16:31:33 +0000 |
commit | 2a6f15e0cafa2da2bd94b00b1a7285cb9715b5aa (patch) | |
tree | 8ea67aff44b8334043b4c2b4df3952108400c58d /pw/pw_user.c | |
parent | 72c791863f4747db7f1a675767920499d9f4fdcd (diff) | |
download | pw-darwin-2a6f15e0cafa2da2bd94b00b1a7285cb9715b5aa.tar.gz pw-darwin-2a6f15e0cafa2da2bd94b00b1a7285cb9715b5aa.tar.zst pw-darwin-2a6f15e0cafa2da2bd94b00b1a7285cb9715b5aa.zip |
Fix typo preventing pw {user,group}next -C from working as expected
Reported by: Mike Selnet via forums.freebsd.org
MFC after: 3 days
Diffstat (limited to 'pw/pw_user.c')
-rw-r--r-- | pw/pw_user.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_user.c b/pw/pw_user.c index 5ad1409..67186c3 100644 --- a/pw/pw_user.c +++ b/pw/pw_user.c @@ -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; |