diff options
author | eadler <eadler@FreeBSD.org> | 2012-11-15 15:16:50 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-11-15 15:16:50 +0000 |
commit | c7b3f7ffa9fdf5d5e048af9459d1831732472de5 (patch) | |
tree | 854ebecfcbbe23e89aa711b52c64304b08bd7c13 /usr.sbin/chkgrp/chkgrp.8 | |
parent | 2870d7badbaa8a19ad288c1530c39f7bd4dc4020 (diff) | |
download | FreeBSD-src-c7b3f7ffa9fdf5d5e048af9459d1831732472de5.zip FreeBSD-src-c7b3f7ffa9fdf5d5e048af9459d1831732472de5.tar.gz |
Add support for a -q flag. While here make the custom argument parsing
use getopt instead of hacking on it more. This change also fixes the
method of silencing the compiler warning about gfn being used
uninitialized.
Approved by: cperciva
MFC after: 1 week
Diffstat (limited to 'usr.sbin/chkgrp/chkgrp.8')
-rw-r--r-- | usr.sbin/chkgrp/chkgrp.8 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/chkgrp/chkgrp.8 b/usr.sbin/chkgrp/chkgrp.8 index abdaecc..6a57356 100644 --- a/usr.sbin/chkgrp/chkgrp.8 +++ b/usr.sbin/chkgrp/chkgrp.8 @@ -34,6 +34,7 @@ .Nd check the syntax of the group file .Sh SYNOPSIS .Nm +.Op Fl q .Op Ar groupfile .Sh DESCRIPTION The @@ -47,6 +48,12 @@ contains whitespace, and that the third field (the group ID) is numeric. It will also check for invalid characters in the group names and group members. +The following options are available: +.Bl -tag -width indent +.It Fl q +This option disables printing of text when the group format +is correct. +.El .Sh FILES .Bl -tag -width /etc/group -compact .It Pa /etc/group |