summaryrefslogtreecommitdiffstats
path: root/pw/pw_group.c
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-07-11 17:01:08 +0000
commitecf012ac29ba3e82e8b5e497ee1b80629ae5624f (patch)
treef34db7c3923afd03edab098b4fcd6982a6056123 /pw/pw_group.c
parentbc539790827cbc69585a6ec393f04705e5825eff (diff)
downloadpw-darwin-ecf012ac29ba3e82e8b5e497ee1b80629ae5624f.tar.gz
pw-darwin-ecf012ac29ba3e82e8b5e497ee1b80629ae5624f.zip
Move the quiet flag into the configuration structure
Diffstat (limited to 'pw/pw_group.c')
-rw-r--r--pw/pw_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pw/pw_group.c b/pw/pw_group.c
index 28a7c94..61f0a21 100644
--- a/pw/pw_group.c
+++ b/pw/pw_group.c
@@ -122,7 +122,7 @@ pw_group(int mode, char *name, long id, struct cargs * args)
};
if (mode == M_NEXT)
- return (pw_groupnext(cnf, getarg(args, 'q') != NULL));
+ return (pw_groupnext(cnf, conf.quiet));
if (mode == M_LOCK || mode == M_UNLOCK)
errx(EX_USAGE, "'lock' command is not available for groups");