From 03cb09c0d419a5c4b82e8079ba2c3d5995494248 Mon Sep 17 00:00:00 2001 From: sobrado Date: Mon, 6 Aug 2007 19:16:05 +0000 Subject: the ellipsis is not an optional argument; while here, sync the usage and synopsis of commands lots of good ideas by jmc@ ok jmc@ --- usr.sbin/edquota/edquota.8 | 10 +++++----- usr.sbin/edquota/edquota.c | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) (limited to 'usr.sbin/edquota') 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); } -- cgit v1.2.3-59-g8ed1b