]> git.cameronkatri.com Git - pw-darwin.git/blobdiff - pw/pw_group.c
Move the quiet flag into the configuration structure
[pw-darwin.git] / pw / pw_group.c
index 28a7c94c789d4bca6236c1ad53f075c20396cb2f..61f0a21d90cb8e7c15687b2f2c316a4def7d428c 100644 (file)
@@ -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");