summaryrefslogtreecommitdiffstats
path: root/libexec/revnetgroup
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-09 20:36:12 +0000
committerru <ru@FreeBSD.org>2005-02-09 20:36:12 +0000
commitad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8 (patch)
tree3d1c40e371633d6912205343577a3b856ea09d77 /libexec/revnetgroup
parent349a29d45a7cc10539fc1a42363885f1d186bc0a (diff)
downloadFreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.zip
FreeBSD-src-ad21eaf4a14b7d941b1d6cda9339f7bebfe2eca8.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'libexec/revnetgroup')
-rw-r--r--libexec/revnetgroup/revnetgroup.85
-rw-r--r--libexec/revnetgroup/revnetgroup.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/libexec/revnetgroup/revnetgroup.8 b/libexec/revnetgroup/revnetgroup.8
index 9a6258a..84cf9f9 100644
--- a/libexec/revnetgroup/revnetgroup.8
+++ b/libexec/revnetgroup/revnetgroup.8
@@ -38,10 +38,7 @@
.Nd "generate reverse netgroup data"
.Sh SYNOPSIS
.Nm
-.Fl u
-.Op Fl f Ar netgroup_file
-.Nm
-.Fl h
+.Fl u | h
.Op Fl f Ar netgroup_file
.Sh DESCRIPTION
The
diff --git a/libexec/revnetgroup/revnetgroup.c b/libexec/revnetgroup/revnetgroup.c
index 0d4f379..505c482 100644
--- a/libexec/revnetgroup/revnetgroup.c
+++ b/libexec/revnetgroup/revnetgroup.c
@@ -63,7 +63,7 @@ struct member_entry *mtable[TABLESIZE];
static void
usage(void)
{
- fprintf (stderr,"usage: revnetgroup -u|-h [-f netgroup file]\n");
+ fprintf (stderr,"usage: revnetgroup -u | -h [-f netgroup_file]\n");
exit(1);
}
OpenPOWER on IntegriCloud