summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authorsobrado <sobrado@openbsd.org>2007-08-06 19:16:05 +0000
committersobrado <sobrado@openbsd.org>2007-08-06 19:16:05 +0000
commit03cb09c0d419a5c4b82e8079ba2c3d5995494248 (patch)
treeee6fa625ac16cfcc0ae0c9c4f16df39d992be7da /usr.sbin/edquota
parentFix error path in sys_fhopen() if VOP_ADVLOCK fails. Spotted by aaron@ (diff)
downloadwireguard-openbsd-03cb09c0d419a5c4b82e8079ba2c3d5995494248.tar.xz
wireguard-openbsd-03cb09c0d419a5c4b82e8079ba2c3d5995494248.zip
the ellipsis is not an optional argument; while here, sync the usage
and synopsis of commands lots of good ideas by jmc@ ok jmc@
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r--usr.sbin/edquota/edquota.810
-rw-r--r--usr.sbin/edquota/edquota.c9
2 files changed, 10 insertions, 9 deletions
diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8
index 557f7cda424..c1f69f492a0 100644
--- a/usr.sbin/edquota/edquota.8
+++ b/usr.sbin/edquota/edquota.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: edquota.8,v 1.9 2007/05/31 19:20:23 jmc Exp $
+.\" $OpenBSD: edquota.8,v 1.10 2007/08/06 19:16:07 sobrado Exp $
.\"
.\" Copyright (c) 1983, 1990, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,9 +31,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)edquota.8 8.1 (Berkeley) 6/6/93
-.\" $Id: edquota.8,v 1.9 2007/05/31 19:20:23 jmc Exp $
+.\" $Id: edquota.8,v 1.10 2007/08/06 19:16:07 sobrado Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: August 6 2007 $
.Dt EDQUOTA 8
.Os
.Sh NAME
@@ -43,11 +43,11 @@
.Nm edquota
.Op Fl u
.Op Fl p Ar proto-username
-.Ar username | uid Op Ar ...
+.Ar username | uid ...
.Nm edquota
.Fl g
.Op Fl p Ar proto-groupname
-.Ar groupname | gid Op Ar ...
+.Ar groupname | gid ...
.Nm edquota
.Fl t
.Op Fl u
diff --git a/usr.sbin/edquota/edquota.c b/usr.sbin/edquota/edquota.c
index d417ae938d7..be3f981b3f1 100644
--- a/usr.sbin/edquota/edquota.c
+++ b/usr.sbin/edquota/edquota.c
@@ -38,7 +38,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)edquota.c 8.1 (Berkeley) 6/6/93";*/
-static char *rcsid = "$Id: edquota.c,v 1.45 2006/10/18 21:18:59 deraadt Exp $";
+static char *rcsid = "$Id: edquota.c,v 1.46 2007/08/06 19:16:07 sobrado Exp $";
#endif /* not lint */
/*
@@ -96,9 +96,10 @@ void
usage(void)
{
(void)fprintf(stderr, "%s%s%s%s",
- "Usage: edquota [-u] [-p username] username ...\n",
- "\tedquota -g [-p groupname] groupname ...\n",
- "\tedquota [-u] -t\n", "\tedquota -g -t\n");
+ "usage: edquota [-u] [-p proto-username] username | uid ...\n",
+ " edquota -g [-p proto-groupname] groupname | gid ...\n",
+ " edquota -t [-u]\n",
+ " edquota -g -t\n");
exit(1);
}